]> git.karo-electronics.de Git - linux-beck.git/commit
V4L/DVB: ir-core: allow specifying multiple protocols at one open/write
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 28 Jun 2010 16:52:07 +0000 (13:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 17:55:05 +0000 (14:55 -0300)
commitde8592bd539b2bb8da2b55b1007562eb1abd1fe6
tree30b88b3338558a06af737094fdf0028d7fe21d10
parent5f1247972e0fcce6dd4bce94459a9f3db09ae61d
V4L/DVB: ir-core: allow specifying multiple protocols at one open/write

With this change, it is now possible to do something like:
        su -c 'echo "none +rc-5 +nec" > /sys/class/rc/rc1/protocols'

This prevents the need of multiple opens, one for each protocol change,
and makes userspace application easier.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-sysfs.c