android_kernel_xiaomi_sdm845/drivers/media
Hans Verkuil df59f0b3df V4L/DVB (11967): v4l: i2c modules must be linked before the v4l2 drivers
Since i2c autoprobing is no longer supported by v4l2 we need to make sure
that the i2c modules are linked before the v4l2 modules. The v4l2 modules
now rely on the presence of the i2c modules, so these must have initialized
themselves before the v4l2 modules.

The exception is the ir-kbd-i2c module, which is the only one still using
autoprobing. This one should be loaded at the end of the v4l2 module. Loading
it earlier actually causes problems with tveeprom. Once ir-kbd-i2c is no
longer autoprobing, then it has to move up as well.

This is only an issue when everything is compiled into the kernel.

Thanks to Marcus Swoboda for reporting this and Udo Steinberg for testing
this patch.

Tested-by: Udo A. Steinberg <udo@hypervisor.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-16 19:07:41 -03:00
..
common V4L/DVB (11934): Change order for FM tune 2009-06-16 19:07:25 -03:00
dvb V4L/DVB (11964): b2c2: Fix problems with frontend attachment 2009-06-16 19:07:40 -03:00
radio V4L/DVB (11957): dsbr100: change radio->muted to radio->status, update suspend/resume 2009-06-16 19:07:36 -03:00
video V4L/DVB (11967): v4l: i2c modules must be linked before the v4l2 drivers 2009-06-16 19:07:41 -03:00
Kconfig V4L/DVB (11881): one kconfig controls them all 2009-06-16 18:21:16 -03:00
Makefile V4L/DVB (8274): sms1xxx: build cleanup after driver relocation 2008-07-20 07:20:56 -03:00