]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: IR RC: move assignment of get_key functions from *_change_protocol...
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Thu, 27 Dec 2012 22:02:47 +0000 (19:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Jan 2013 03:12:11 +0000 (01:12 -0200)
commitc060d9118c98e1456b7f1c83c2995e04c48856df
treef88ac9d9599fa6626ce20c94114616ed3b29e36c
parentab0ed9c38117f25da88e2cf0f9c03de85c973e76
[media] em28xx: IR RC: move assignment of get_key functions from *_change_protocol() functions to em28xx_ir_init()

The get_key functions are independent from the selected protocol, so assign
them once only at device initialization.

[mchehab@redhat.com: fix a merge conflict]
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-input.c