summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb/lmedm04.c
diff options
context:
space:
mode:
authorFlorian Mickler <florian@mickler.org>2011-03-21 00:50:51 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-20 16:27:49 +0400
commitb9f7b73c8c107d83a4c04c4f29a2ca96f7e73faf (patch)
treea18a1f9cdb37e0b7fb811bdd6a8a1754f3fcae40 /drivers/media/dvb/dvb-usb/lmedm04.c
parentbbcede07b44886f4ffe496363c819c5ecebac8b0 (diff)
downloadlinux-b9f7b73c8c107d83a4c04c4f29a2ca96f7e73faf.tar.xz
[media] lmedm04: correct indentation
This should not change anything except whitespace. Signed-off-by: Florian Mickler <florian@mickler.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/lmedm04.c')
-rw-r--r--drivers/media/dvb/dvb-usb/lmedm04.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/dvb/dvb-usb/lmedm04.c b/drivers/media/dvb/dvb-usb/lmedm04.c
index 3c521db0a130..b47ec3055ff7 100644
--- a/drivers/media/dvb/dvb-usb/lmedm04.c
+++ b/drivers/media/dvb/dvb-usb/lmedm04.c
@@ -678,15 +678,15 @@ static int lme2510_download_firmware(struct usb_device *dev,
data[0] = i | 0x80;
dlen = (u8)(end - j)-1;
}
- data[1] = dlen;
- memcpy(&data[2], fw_data, dlen+1);
- wlen = (u8) dlen + 4;
- data[wlen-1] = check_sum(fw_data, dlen+1);
- deb_info(1, "Data S=%02x:E=%02x CS= %02x", data[3],
+ data[1] = dlen;
+ memcpy(&data[2], fw_data, dlen+1);
+ wlen = (u8) dlen + 4;
+ data[wlen-1] = check_sum(fw_data, dlen+1);
+ deb_info(1, "Data S=%02x:E=%02x CS= %02x", data[3],
data[dlen+2], data[dlen+3]);
- ret |= lme2510_bulk_write(dev, data, wlen, 1);
- ret |= lme2510_bulk_read(dev, data, len_in , 1);
- ret |= (data[0] == 0x88) ? 0 : -1;
+ ret |= lme2510_bulk_write(dev, data, wlen, 1);
+ ret |= lme2510_bulk_read(dev, data, len_in , 1);
+ ret |= (data[0] == 0x88) ? 0 : -1;
}
}