aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-17 20:42:14 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:09:42 -0400
commit89b329ef9d7cc16ed46fc991b21b2d45e7bf452c (patch)
tree1cd9ce2b15423282d50e6a96ed5ff789030e7cdf /drivers/media/video/em28xx/em28xx.h
parent7640ea99339c687864f6131598e2eee2ca73cb9c (diff)
V4L/DVB (7610): em28xx: Select reg wait time based on chip ID
This is more conservative than just removing the msleep() from em28xx_write_regs_req(), since some old hardware may still need it. So, it will remove the sleep time only for those chips where this removal were tested. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx.h')
-rw-r--r--drivers/media/video/em28xx/em28xx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 5b21efaf7844..8f12b848b1d1 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -331,6 +331,9 @@ struct em28xx {
331 unsigned int max_range_640_480:1; 331 unsigned int max_range_640_480:1;
332 unsigned int has_dvb:1; 332 unsigned int has_dvb:1;
333 333
334 /* Some older em28xx chips needs a waiting time after writing */
335 unsigned int wait_after_write;
336
334 /* GPIO sequences for tuner callback */ 337 /* GPIO sequences for tuner callback */
335 struct em28xx_reg_seq *analog_gpio, *digital_gpio; 338 struct em28xx_reg_seq *analog_gpio, *digital_gpio;
336 339