Skip to content

Commit 329d88d

Browse files
Javier Martinez Canillasmchehab
authored andcommitted
[media] media: i2c: Don't export ir-kbd-i2c module alias
This is a partial revert of commit ed8d1cf ("[media] Export I2C module alias information in missing drivers") that exported the module aliases for the I2C drivers that were missing to make autoload to work. But there is a bug report [0] that auto load of the ir-kbd-i2c driver cause the Hauppauge HD-PVR driver to not behave correctly. This is a hdpvr latent bug that was just exposed by ir-kbd-i2c module autoloading working and will also happen if the I2C driver is built-in or a user calls modprobe to load the module and register the driver. But there is a regression experimented by users so until the real bug is fixed, let's not export the module alias for the ir-kbd-i2c driver even when this just masks the actual issue. [0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810726 Fixes: ed8d1cf ("[media] Export I2C module alias information in missing drivers") Cc: <[email protected]> # 4.3+ Signed-off-by: Javier Martinez Canillas <[email protected]>
1 parent a63abe3 commit 329d88d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/media/i2c/ir-kbd-i2c.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ static const struct i2c_device_id ir_kbd_id[] = {
478478
{ "ir_rx_z8f0811_hdpvr", 0 },
479479
{ }
480480
};
481-
MODULE_DEVICE_TABLE(i2c, ir_kbd_id);
482481

483482
static struct i2c_driver ir_kbd_driver = {
484483
.driver = {

0 commit comments

Comments
 (0)