Use 32 bit decoding to add support for more than one variant of remote
control.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
                        rbuff, sizeof(rbuff));
        return ret;
 }
-static int lme2510_remote_keypress(struct dvb_usb_adapter *adap, u16 keypress)
+static int lme2510_remote_keypress(struct dvb_usb_adapter *adap, u32 keypress)
 {
        struct dvb_usb_device *d = adap->dev;
 
                case 0xaa:
                        debug_data_snipet(1, "INT Remote data snipet in", ibuf);
                        lme2510_remote_keypress(adap,
-                               (u16)(ibuf[4]<<8)+ibuf[5]);
+                               (u32)(ibuf[2] << 24) + (ibuf[3] << 16) +
+                               (ibuf[4] << 8) + ibuf[5]);
                        break;
                case 0xbb:
                        switch (st->tuner_config) {