diff options
Diffstat (limited to 'drivers/media/video/cx25840/cx25840-firmware.c')
-rw-r--r-- | drivers/media/video/cx25840/cx25840-firmware.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/video/cx25840/cx25840-firmware.c b/drivers/media/video/cx25840/cx25840-firmware.c index 1a5f7d0ead41..0df53b0d75d9 100644 --- a/drivers/media/video/cx25840/cx25840-firmware.c +++ b/drivers/media/video/cx25840/cx25840-firmware.c | |||
@@ -97,17 +97,17 @@ int cx25840_loadfw(struct i2c_client *client) | |||
97 | u8 buffer[FWSEND]; | 97 | u8 buffer[FWSEND]; |
98 | const u8 *ptr; | 98 | const u8 *ptr; |
99 | int size, retval; | 99 | int size, retval; |
100 | int MAX_BUF_SIZE = FWSEND; | 100 | int MAX_BUF_SIZE = FWSEND; |
101 | 101 | ||
102 | if (state->is_cx23885) | 102 | if (state->is_cx23885) |
103 | firmware = FWFILE_CX23885; | 103 | firmware = FWFILE_CX23885; |
104 | else if ( state->is_cx231xx) | 104 | else if (state->is_cx231xx) |
105 | firmware = FWFILE_CX231XX; | 105 | firmware = FWFILE_CX231XX; |
106 | 106 | ||
107 | if( (state->is_cx231xx) && MAX_BUF_SIZE > 16) { | 107 | if ((state->is_cx231xx) && MAX_BUF_SIZE > 16) { |
108 | printk(" Firmware download size changed to 16 bytes max length\n"); | 108 | v4l_err(client, " Firmware download size changed to 16 bytes max length\n"); |
109 | MAX_BUF_SIZE = 16; /* cx231xx cannot accept more than 16 bytes at a time */ | 109 | MAX_BUF_SIZE = 16; /* cx231xx cannot accept more than 16 bytes at a time */ |
110 | } | 110 | } |
111 | 111 | ||
112 | if (request_firmware(&fw, firmware, FWDEV(client)) != 0) { | 112 | if (request_firmware(&fw, firmware, FWDEV(client)) != 0) { |
113 | v4l_err(client, "unable to open firmware %s\n", firmware); | 113 | v4l_err(client, "unable to open firmware %s\n", firmware); |