diff for duplicates of <20130828164308.GE14111@linutronix.de> diff --git a/a/1.txt b/N1/1.txt index 75671e5..aabc2d1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,11 +1,12 @@ * Zubair Lutfullah | 2013-08-25 23:45:24 [+0100]: ->diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c +>diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_a= +dc.c >index a952538..ae2202b 100644 >--- a/drivers/iio/adc/ti_am335x_adc.c >+++ b/drivers/iio/adc/ti_am335x_adc.c >@@ -231,28 +406,56 @@ static int tiadc_probe(struct platform_device *pdev) -… +=E2=80=A6 >+err_free_device: >+ iio_device_free(indio_dev); @@ -14,17 +15,17 @@ I am not sure about this one. >+err_ret: > return err; > } -> +>=20 >@@ -262,11 +465,14 @@ static int tiadc_remove(struct platform_device *pdev) -> struct tiadc_device *adc_dev = iio_priv(indio_dev); +> struct tiadc_device *adc_dev =3D iio_priv(indio_dev); > u32 step_en; -> +>=20 >+ free_irq(adc_dev->irq, indio_dev); > iio_device_unregister(indio_dev); >+ iio_buffer_unregister(indio_dev); > tiadc_channels_remove(indio_dev); -> -> step_en = get_adc_step_mask(adc_dev); +>=20 +> step_en =3D get_adc_step_mask(adc_dev); > am335x_tsc_se_clr(adc_dev->mfd_tscadc, step_en); >+ iio_device_free(indio_dev); @@ -32,7 +33,7 @@ But this one is wrong. The will be removed via dev_res() and if you do it here as well then dev_res() will decrement the reference of an unused object. -> +>=20 > return 0; > } diff --git a/a/content_digest b/N1/content_digest index b527cb6..354032d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,26 +1,26 @@ "ref\01377470724-15710-1-git-send-email-zubair.lutfullah@gmail.com\0" "ref\01377470724-15710-3-git-send-email-zubair.lutfullah@gmail.com\0" - "ref\01377470724-15710-3-git-send-email-zubair.lutfullah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org\0" - "From\0Sebastian Andrzej Siewior <bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>\0" + "From\0Sebastian Andrzej Siewior <bigeasy@linutronix.de>\0" "Subject\0Re: [PATCH 2/2] iio: ti_am335x_adc: Add continuous sampling support\0" "Date\0Wed, 28 Aug 2013 18:43:08 +0200\0" - "To\0Zubair Lutfullah <zubair.lutfullah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" - "Cc\0jic23-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org" - lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org - linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - " gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org\0" + "To\0Zubair Lutfullah <zubair.lutfullah@gmail.com>\0" + "Cc\0jic23@cam.ac.uk" + lee.jones@linaro.org + linux-iio@vger.kernel.org + linux-input@vger.kernel.org + linux-kernel@vger.kernel.org + " gregkh@linuxfoundation.org\0" "\00:1\0" "b\0" "* Zubair Lutfullah | 2013-08-25 23:45:24 [+0100]:\n" "\n" - ">diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c\n" + ">diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_a=\n" + "dc.c\n" ">index a952538..ae2202b 100644\n" ">--- a/drivers/iio/adc/ti_am335x_adc.c\n" ">+++ b/drivers/iio/adc/ti_am335x_adc.c\n" ">@@ -231,28 +406,56 @@ static int tiadc_probe(struct platform_device *pdev)\n" - "\342\200\246\n" + "=E2=80=A6\n" ">+err_free_device:\n" ">+\tiio_device_free(indio_dev);\n" "\n" @@ -29,17 +29,17 @@ ">+err_ret:\n" "> \treturn err;\n" "> }\n" - "> \n" + ">=20\n" ">@@ -262,11 +465,14 @@ static int tiadc_remove(struct platform_device *pdev)\n" - "> \tstruct tiadc_device *adc_dev = iio_priv(indio_dev);\n" + "> \tstruct tiadc_device *adc_dev =3D iio_priv(indio_dev);\n" "> \tu32 step_en;\n" - "> \n" + ">=20\n" ">+\tfree_irq(adc_dev->irq, indio_dev);\n" "> \tiio_device_unregister(indio_dev);\n" ">+\tiio_buffer_unregister(indio_dev);\n" "> \ttiadc_channels_remove(indio_dev);\n" - "> \n" - "> \tstep_en = get_adc_step_mask(adc_dev);\n" + ">=20\n" + "> \tstep_en =3D get_adc_step_mask(adc_dev);\n" "> \tam335x_tsc_se_clr(adc_dev->mfd_tscadc, step_en);\n" ">+\tiio_device_free(indio_dev);\n" "\n" @@ -47,10 +47,10 @@ "it here as well then dev_res() will decrement the reference of an unused\n" "object.\n" "\n" - "> \n" + ">=20\n" "> \treturn 0;\n" "> }\n" "\n" Sebastian -db9524075e663024e818eedb1ccad71dad6e3f793248ce30f0017030448cba9c +c493f682b9c37c82fa65fe41e64e930517441c5ec1b81fbe23dbe617b3287405
diff --git a/a/content_digest b/N2/content_digest index b527cb6..07a83ff 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,16 +1,15 @@ "ref\01377470724-15710-1-git-send-email-zubair.lutfullah@gmail.com\0" "ref\01377470724-15710-3-git-send-email-zubair.lutfullah@gmail.com\0" - "ref\01377470724-15710-3-git-send-email-zubair.lutfullah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org\0" - "From\0Sebastian Andrzej Siewior <bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>\0" + "From\0Sebastian Andrzej Siewior <bigeasy@linutronix.de>\0" "Subject\0Re: [PATCH 2/2] iio: ti_am335x_adc: Add continuous sampling support\0" "Date\0Wed, 28 Aug 2013 18:43:08 +0200\0" - "To\0Zubair Lutfullah <zubair.lutfullah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" - "Cc\0jic23-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org" - lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org - linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - " gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org\0" + "To\0Zubair Lutfullah <zubair.lutfullah@gmail.com>\0" + "Cc\0jic23@cam.ac.uk" + lee.jones@linaro.org + linux-iio@vger.kernel.org + linux-input@vger.kernel.org + linux-kernel@vger.kernel.org + " gregkh@linuxfoundation.org\0" "\00:1\0" "b\0" "* Zubair Lutfullah | 2013-08-25 23:45:24 [+0100]:\n" @@ -53,4 +52,4 @@ "\n" Sebastian -db9524075e663024e818eedb1ccad71dad6e3f793248ce30f0017030448cba9c +996085bf90b24efb2943273aaa049e831c09392606bef8e004eb6c5a000846f7
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.