From: David Dillow Date: Mon, 18 Jun 2012 03:20:06 +0000 (-0300) Subject: [media] cx231xx: use TRANSFER_TYPE enum for cleanup X-Git-Tag: v3.6-rc1~40^2^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=460a4de77d3b8f82fce98a9ed10e10464f767f97;p=pandora-kernel.git [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 Cc: Sri Deevi Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed