summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorDavid Dillow <dave@thedillows.org>2012-06-18 00:20:06 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-06 01:45:43 -0300
commit460a4de77d3b8f82fce98a9ed10e10464f767f97 (patch)
tree0cbdf5704aca8b6dc05870e2884a39d7ff53dcde /sound
parentf244e6c308be3acc445719f0fd72b5fb182c0895 (diff)
[media] cx231xx: use TRANSFER_TYPE enum for cleanup
Most calls to cx231xx_capture_start() already use the values from TRANSFER_TYPE, but cx231xx_capture_start() and cx231xx_initialize_stream_xfer() were hand coding the values. Use the named values (81 is never passed in), and simplify cx231xx_capture_start(), as the switch statements were identical and pcb_config->config_num is a u8, so any non-zero config got the same result. Signed-off-by: David Dillow <dave@thedillows.org> Cc: Sri Deevi <srinivasa.deevi@conexant.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions