aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/cx25840/cx25840-firmware.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-03 14:36:55 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 21:44:00 -0300
commit95b14fb23b543e0a9213b4ba3cc4fc640d9e453f (patch)
tree262291eaf367022b9d2f12cb35a3e424cf8460af /drivers/media/video/cx25840/cx25840-firmware.c
parent149783b58170da0b7ebe9e86995f8cb350f33b6d (diff)
V4L/DVB (10953): cx25840: Fix CodingStyle errors introduced by the last patch
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx25840/cx25840-firmware.c')
-rw-r--r--drivers/media/video/cx25840/cx25840-firmware.c14
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)
u8 buffer[FWSEND];
const u8 *ptr;
int size, retval;
- int MAX_BUF_SIZE = FWSEND;
+ int MAX_BUF_SIZE = FWSEND;
if (state->is_cx23885)
firmware = FWFILE_CX23885;
- else if ( state->is_cx231xx)
- firmware = FWFILE_CX231XX;
+ else if (state->is_cx231xx)
+ firmware = FWFILE_CX231XX;
- if( (state->is_cx231xx) && MAX_BUF_SIZE > 16) {
- printk(" Firmware download size changed to 16 bytes max length\n");
- MAX_BUF_SIZE = 16; /* cx231xx cannot accept more than 16 bytes at a time */
- }
+ if ((state->is_cx231xx) && MAX_BUF_SIZE > 16) {
+ v4l_err(client, " Firmware download size changed to 16 bytes max length\n");
+ MAX_BUF_SIZE = 16; /* cx231xx cannot accept more than 16 bytes at a time */
+ }
if (request_firmware(&fw, firmware, FWDEV(client)) != 0) {
v4l_err(client, "unable to open firmware %s\n", firmware);