On Wed, Apr 15, 2009 at 8:17 PM, Guennadi Liakhovetski <g.liakhovetski@xxxxxx> wrote: > Currently pcm990 camera bus-width management functions request a GPIO and never > free it again. With this approach the GPIO extender driver cannot be unloaded > once camera drivers have been loaded, also unloading theb i2c-pxa bus driver > produces errors, because the GPIO extender driver cannot unregister properly. > Another problem is, that if camera drivers are once loaded before the GPIO > extender driver, the platform code marks the GPIO unavailable and only a reboot > helps to recover. Adding an explicit free_bus method and using it in mt9m001 > and mt9v022 drivers fixes these problems. > > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx> > --- > > Eric, need your ack for the arch/arm/mach-pxa part. Sascha's wouldn't hurt > either:-) > Yes, the mach-pxa/ part looks OK to me. Acked-by: Eric Miao <eric.miao@xxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html