summaryrefslogtreecommitdiff
path: root/v4l/scripts/gentree.pl
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-09-27 23:19:04 -0700
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-09-27 23:19:04 -0700
commit7ffda86bc612f5670c3461d8342ccb24d2ebc547 (patch)
treeb919085c270f95ce1642c6cfd3311f3f85eda668 /v4l/scripts/gentree.pl
parent5eed050abfb57eeb862a3e56b0ee35ae9e37cdaf (diff)
downloadmediapointer-dvb-s2-7ffda86bc612f5670c3461d8342ccb24d2ebc547.tar.gz
mediapointer-dvb-s2-7ffda86bc612f5670c3461d8342ccb24d2ebc547.tar.bz2
bw-qcam: use data_reverse instead of manually poking the control register
From: Brett Warden <brett.warden@gmail.com> Fixes use of parport_write_control() to match the newer interface that requires explicit parport_data_reverse() and parport_data_forward() calls. This eliminates the following error message and restores the original intended behavior: parport0 (bw-qcam): use data_reverse for this! Also increases threshold in qc_detect() from 300 to 400, as my camera often results in a count of approx 330. Added a kernel error message to indicate detection failure. Thanks Ray and Randy for your comments, and for pointing out that I needed to reset the port to forward mode! Signed-off-by: Brett T. Warden <brett.warden@gmail.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts/gentree.pl')
0 files changed, 0 insertions, 0 deletions