diff options
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/drv-intf/cx25840.h | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/include/media/drv-intf/cx25840.h b/include/media/drv-intf/cx25840.h index 328ddb359fdf..4eae27c163ba 100644 --- a/include/media/drv-intf/cx25840.h +++ b/include/media/drv-intf/cx25840.h | |||
@@ -9,17 +9,23 @@ | |||
9 | #ifndef _CX25840_H_ | 9 | #ifndef _CX25840_H_ |
10 | #define _CX25840_H_ | 10 | #define _CX25840_H_ |
11 | 11 | ||
12 | /* Note that the cx25840 driver requires that the bridge driver calls the | 12 | /* |
13 | v4l2_subdev's init operation in order to load the driver's firmware. | 13 | * Note that the cx25840 driver requires that the bridge driver calls the |
14 | Without this the audio standard detection will fail and you will | 14 | * v4l2_subdev's load_fw operation in order to load the driver's firmware. |
15 | only get mono. | 15 | * This will load the firmware on the first invocation (further ones are NOP). |
16 | 16 | * Without this the audio standard detection will fail and you will | |
17 | Since loading the firmware is often problematic when the driver is | 17 | * only get mono. |
18 | compiled into the kernel I recommend postponing calling this function | 18 | * Alternatively, you can call the reset operation (this can be done |
19 | until the first open of the video device. Another reason for | 19 | * multiple times if needed, each invocation will fully reinitialize |
20 | postponing it is that loading this firmware takes a long time (seconds) | 20 | * the device). |
21 | due to the slow i2c bus speed. So it will speed up the boot process if | 21 | * |
22 | you can avoid loading the fw as long as the video device isn't used. */ | 22 | * Since loading the firmware is often problematic when the driver is |
23 | * compiled into the kernel I recommend postponing calling this function | ||
24 | * until the first open of the video device. Another reason for | ||
25 | * postponing it is that loading this firmware takes a long time (seconds) | ||
26 | * due to the slow i2c bus speed. So it will speed up the boot process if | ||
27 | * you can avoid loading the fw as long as the video device isn't used. | ||
28 | */ | ||
23 | 29 | ||
24 | enum cx25840_video_input { | 30 | enum cx25840_video_input { |
25 | /* Composite video inputs In1-In8 */ | 31 | /* Composite video inputs In1-In8 */ |