• Hans Verkuil's avatar
    V4L/DVB (11967): v4l: i2c modules must be linked before the v4l2 drivers · df59f0b3
    Hans Verkuil authored
    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: default avatarUdo A. Steinberg <udo@hypervisor.org>
    Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    df59f0b3
Makefile 5.44 KB