diff options
| author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-05 21:52:34 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-06 18:36:27 -0400 |
| commit | 4dab0e5fe8ceaaf267003b5d7aa0c31c1092bee0 (patch) | |
| tree | 3fdd06611994007eb5546be6dccccaeec0016f87 /drivers | |
| parent | 82163edcdfa4eb3d74516cc8e9f38dd3d039b67d (diff) | |
[media] em28xx: fix em28xx-rc load
The logic that checks if a device has remote control is wrong.
Due to that, the em28xx RC module is not loaded by default.
Fix the logic, in order to make it work properly.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 92da7c28b6f0..862c6575c557 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
| @@ -2893,7 +2893,7 @@ static void request_module_async(struct work_struct *work) | |||
| 2893 | 2893 | ||
| 2894 | if (dev->board.has_dvb) | 2894 | if (dev->board.has_dvb) |
| 2895 | request_module("em28xx-dvb"); | 2895 | request_module("em28xx-dvb"); |
| 2896 | if (dev->board.has_ir_i2c && !disable_ir) | 2896 | if (dev->board.ir_codes && !disable_ir) |
| 2897 | request_module("em28xx-rc"); | 2897 | request_module("em28xx-rc"); |
| 2898 | } | 2898 | } |
| 2899 | 2899 | ||
