mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 06:16:46 +07:00
V4L/DVB (5276): Cxusb: fix firmware patch for big endian systems
Without this patch, the device will not be detected after firmware download on big endian systems. Signed-off-by: Jin-Bong lee <jinbong.lee@samsung.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
b9109b7582
commit
1d1370a48c
@ -469,9 +469,9 @@ static int bluebird_patch_dvico_firmware_download(struct usb_device *udev,
|
||||
fw->data[BLUEBIRD_01_ID_OFFSET + 1] == USB_VID_DVICO >> 8) {
|
||||
|
||||
fw->data[BLUEBIRD_01_ID_OFFSET + 2] =
|
||||
udev->descriptor.idProduct + 1;
|
||||
le16_to_cpu(udev->descriptor.idProduct) + 1;
|
||||
fw->data[BLUEBIRD_01_ID_OFFSET + 3] =
|
||||
udev->descriptor.idProduct >> 8;
|
||||
le16_to_cpu(udev->descriptor.idProduct) >> 8;
|
||||
|
||||
return usb_cypress_load_firmware(udev, fw, CYPRESS_FX2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user