mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[media] cx88: fix firmware load on big-endian systems
Tested with a HVR-1300. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
42d0c3ad28
commit
6ba4c432dc
1 changed files with 1 additions and 1 deletions
|
|
@ -471,7 +471,7 @@ static int blackbird_load_firmware(struct cx8802_dev *dev)
|
|||
dprintk(1,"Loading firmware ...\n");
|
||||
dataptr = (u32*)firmware->data;
|
||||
for (i = 0; i < (firmware->size >> 2); i++) {
|
||||
value = *dataptr;
|
||||
value = le32_to_cpu(*dataptr);
|
||||
checksum += ~value;
|
||||
memory_write(dev->core, i, value);
|
||||
dataptr++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue