Re: [PATCH v2 9/9] rc: nuvoton-cir: Add support for writing wakeup samples via sysfs filter callback

2014-03-16 Thread James Hogan
On Sunday 16 March 2014 10:39:39 Antti Seppälä wrote: > > +static int nvt_write_wakeup_codes(struct rc_dev *dev, > > + const u8 *wakeup_sample_buf, int count) > > +{ > > + int i = 0; > > + u8 reg, reg_learn_mode; > > + unsigned long flags; > > +

Re: [PATCH v2 9/9] rc: nuvoton-cir: Add support for writing wakeup samples via sysfs filter callback

2014-03-16 Thread Antti Seppälä
On 15 March 2014 01:04, James Hogan wrote: > From: Antti Seppälä > > Nuvoton-cir utilizes the encoding capabilities of rc-core to convert > scancodes from user space to pulse/space format understood by the > underlying hardware. > > Converted samples are then written to the wakeup fifo along with

[PATCH v2 9/9] rc: nuvoton-cir: Add support for writing wakeup samples via sysfs filter callback

2014-03-14 Thread James Hogan
From: Antti Seppälä Nuvoton-cir utilizes the encoding capabilities of rc-core to convert scancodes from user space to pulse/space format understood by the underlying hardware. Converted samples are then written to the wakeup fifo along with other necessary configuration to enable wake up functio