V4L/DVB (6916): ivtv: udelay has to be changed *after* the eeprom was read, not before
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 7 Jan 2008 08:46:26 +0000 (06:46 -0200)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 7 Jan 2008 08:46:26 +0000 (06:46 -0200)
commit89dab3573aa1d95fd222ee4551f964bfa4c16823
treee707670d835bdb7c8432c0a6b5cda6dc425a493c
parentd9030f573031244dcffee026cc5e7e2f96f972ce
V4L/DVB (6916): ivtv: udelay has to be changed *after* the eeprom was read, not before

The eeprom decides which Hauppauge model it is, so the decision whether to
use an udelay of 5 or 10 needs to be taken after reading the eeprom, not
before.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-driver.c
drivers/media/video/ivtv/ivtv-i2c.c