V4L/DVB: ir-core: Add support for disabling all protocols
commit5f1247972e0fcce6dd4bce94459a9f3db09ae61d
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 28 Jun 2010 15:58:48 +0000 (28 12:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 17:54:56 +0000 (2 14:54 -0300)
tree8f9e2d7b1c617d9699614c1af7db5b23d3480eef
parenta9e55ea9774cc87434b386a7fba63d96af32792d
V4L/DVB: ir-core: Add support for disabling all protocols

Writing "none" to /dev/class/rc/rc*/protocols will disable all protocols.
This allows an easier setup, from userspace, as userspace applications don't
need to disable protocol per protocol, before enabling a different set of
protocols.

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