Re: [PATCH v2 2/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-11 Thread Beniamino Galvani
On Sun, Nov 09, 2014 at 08:36:09PM +, Sean Young wrote: > > [...] > > + dev_info(dev, "receiver initialized\n"); > > + > > + return 0; > > +out_unreg: > > + rc_unregister_device(ir->rc); > > rc_unregister_device() already calls rc_free_device(). Right, I will fix this. Thanks,

Re: [PATCH v2 2/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-11 Thread Beniamino Galvani
On Sun, Nov 09, 2014 at 08:36:09PM +, Sean Young wrote: [...] + dev_info(dev, receiver initialized\n); + + return 0; +out_unreg: + rc_unregister_device(ir-rc); rc_unregister_device() already calls rc_free_device(). Right, I will fix this. Thanks, Beniamino -- To

Re: [PATCH v2 2/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-09 Thread Sean Young
On Sun, Nov 09, 2014 at 09:32:07AM +0100, Beniamino Galvani wrote: > Amlogic Meson SoCs include a infrared remote control receiver that can > operate in two modes: "NEC" mode in which the hardware decodes frames > using the NEC IR protocol, and "general" mode in which the receiver > simply reports

[PATCH v2 2/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-09 Thread Beniamino Galvani
Amlogic Meson SoCs include a infrared remote control receiver that can operate in two modes: "NEC" mode in which the hardware decodes frames using the NEC IR protocol, and "general" mode in which the receiver simply reports the duration of pulses and spaces for software decoding. This is a driver

[PATCH v2 2/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-09 Thread Beniamino Galvani
Amlogic Meson SoCs include a infrared remote control receiver that can operate in two modes: NEC mode in which the hardware decodes frames using the NEC IR protocol, and general mode in which the receiver simply reports the duration of pulses and spaces for software decoding. This is a driver for

Re: [PATCH v2 2/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-09 Thread Sean Young
On Sun, Nov 09, 2014 at 09:32:07AM +0100, Beniamino Galvani wrote: Amlogic Meson SoCs include a infrared remote control receiver that can operate in two modes: NEC mode in which the hardware decodes frames using the NEC IR protocol, and general mode in which the receiver simply reports the