[PATCH] i2c-pxa: fix unbinding/rebinding of the device

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Tue Feb 15 08:59:28 EST 2011


Hello, all

2011/1/8 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:
> On Sat, Jan 08, 2011 at 07:06:44PM +0300, Dmitry Eremin-Solenikov wrote:
>> When a "pxa2xx-i2c" device was unbound (e.g. via sysfs) the remove
>> callback was not called because it was discarded when linking the
>> kernel.  Because of that the resources allocated in probe were not
>> freed and so a clean unbind/rebind was impossible.
>>
>> Fix that by moving the remove callback to .devexit.text.
>>
>> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
> Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

I see this patch is still not pushed to neither linus nor linux-next.
Should I put it into rmk's patch system? Or will it find it's way to main kernel
via other paths?

>
> Thanks
> Uwe
>
> --
> Pengutronix e.K.                           | Uwe Kleine-König            |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
>



-- 
With best wishes
Dmitry



More information about the linux-arm-kernel mailing list