[media] m920x: send the RC init sequence also when rc.core is used
authorAntonio Ospite <ospite@studenti.unina.it>
Mon, 10 Dec 2012 20:37:15 +0000 (17:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 18:33:51 +0000 (16:33 -0200)
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb/m920x.c

index a70c5eaf0600be1d208259e41e2e3a879d9eebd0..8888b8c2f8e53c76c32a7765c990c92476a705ea 100644 (file)
@@ -84,7 +84,7 @@ static int m920x_init(struct dvb_usb_device *d, struct m920x_inits *rc_seq)
        int adap_enabled[M9206_MAX_ADAPTERS] = { 0 };
 
        /* Remote controller init. */
-       if (d->props.rc.legacy.rc_query) {
+       if (d->props.rc.legacy.rc_query || d->props.rc.core.rc_query) {
                deb("Initialising remote control\n");
                ret = m920x_write_seq(d->udev, M9206_CORE, rc_seq);
                if (ret != 0) {