commit | fcd20e3c369caf7a3fec300c9c183b25a06e21b2 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Aug 10 02:57:57 2009 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Aug 13 20:39:10 2009 -0300 |
tree | 159d432b53f2cfd34a7752bc3abf49ac2d21a3a7 | |
parent | 970cff36c0850e8193ac1162e42c7c11001b872d [diff] |
V4L/DVB (12410): em28xx: Move the non-board dependent part to be outside em28xx_pre_card_setup() em28xx_pre_card_setup() is meant to contain board-specific initialization. Also, as autodetection sometimes occur only after having i2c bus enabled, this function may need to be called later. Moving those setups to happen outside the function avoids calling it twice without need and without duplicating output lines at dmesg. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>