commit | 3aecf2c5a9881024dc7742568146e2f9a10f19a6 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Jul 25 12:45:16 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sat Jan 21 13:45:44 2012 -0200 |
tree | 6f5c325bd3919d28b183288aa4d414cdd6c1d902 | |
parent | 3af2f4f15a61b55469a8512d186221eaf7652eec [diff] |
[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>