[media] rc-core: split dev->s_filter
authorDavid Härdeman <david@hardeman.nu>
Fri, 4 Apr 2014 22:06:01 +0000 (19:06 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 6 Apr 2014 14:30:25 +0000 (11:30 -0300)
commit23c843b5eb11198e7de3a2af0756d1f897117932
tree9a6a57b60b9d048f105d8585c1e84b0e2d4a3bc0
parent42f5e630e06326fa47b3ba86e572b51c36b0a3b1
[media] rc-core: split dev->s_filter

Overloading dev->s_filter to do two different functions (set wakeup filters
and generic hardware filters) makes it impossible to tell what the
hardware actually supports, so create a separate dev->s_wakeup_filter and
make the distinction explicit.

Signed-off-by: David Härdeman <david@hardeman.nu>
Acked-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/img-ir/img-ir-hw.c
drivers/media/rc/rc-main.c
include/media/rc-core.h