[media] nuvoton-cir: minor tweaks to rc dev init
authorJarod Wilson <jarod@redhat.com>
Thu, 21 Apr 2011 18:21:47 +0000 (15:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 18:54:16 +0000 (15:54 -0300)
commit46872d27dadb9d7401d8edc20393e443c573526f
treea23a20a10c7812ebb24e42199230a1614e7e2c47
parent7225a1dcc38f28fcc6178258b2072d12742f68d9
[media] nuvoton-cir: minor tweaks to rc dev init

- Set a default timeout (matching mceusb.c) and use
  ir_raw_event_store_with_filter, which leads to better behavior when
  using lirc userspace decoding with this hardware
- Fill in rx_resolution with the value we're using here (50us)
- Wire up input phys and device parent pointer
- Use device_init_wakeup() instead of device_set_wakeup_*()

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/nuvoton-cir.c