]> git.baikalelectronics.ru Git - kernel.git/commit
[media] az6007: Simplify the read/write logic
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Jul 2011 15:45:16 +0000 (12:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 21 Jan 2012 15:45:44 +0000 (13:45 -0200)
commit1e5fa152a9f3faa0250033d6a7d1c336e6070eea
tree6f5c325bd3919d28b183288aa4d414cdd6c1d902
parentcd716d840ee32ed33990a5adadc58a0d18abc6c2
[media] az6007: Simplify the read/write logic

This patch introduces no functional changes. It basically defines
a macro for each different req found at the driver, and cleans the
code to use them, making easier to understand the code.

With regards to the IR handling code, although the original code
doesn't define what's the request, it is clear, from the USB logs,
that 0xc5 is for IR polling.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/az6007.c