[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>
This commit is contained in:
Florian Mickler 2011-03-20 18:50:51 -03:00 committed by Mauro Carvalho Chehab
parent bbcede07b4
commit b9f7b73c8c
1 changed files with 8 additions and 8 deletions

View File

@ -678,15 +678,15 @@ static int lme2510_download_firmware(struct usb_device *dev,
data[0] = i | 0x80; data[0] = i | 0x80;
dlen = (u8)(end - j)-1; dlen = (u8)(end - j)-1;
} }
data[1] = dlen; data[1] = dlen;
memcpy(&data[2], fw_data, dlen+1); memcpy(&data[2], fw_data, dlen+1);
wlen = (u8) dlen + 4; wlen = (u8) dlen + 4;
data[wlen-1] = check_sum(fw_data, dlen+1); data[wlen-1] = check_sum(fw_data, dlen+1);
deb_info(1, "Data S=%02x:E=%02x CS= %02x", data[3], deb_info(1, "Data S=%02x:E=%02x CS= %02x", data[3],
data[dlen+2], data[dlen+3]); data[dlen+2], data[dlen+3]);
ret |= lme2510_bulk_write(dev, data, wlen, 1); ret |= lme2510_bulk_write(dev, data, wlen, 1);
ret |= lme2510_bulk_read(dev, data, len_in , 1); ret |= lme2510_bulk_read(dev, data, len_in , 1);
ret |= (data[0] == 0x88) ? 0 : -1; ret |= (data[0] == 0x88) ? 0 : -1;
} }
} }