mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 17:33:01 +00:00
[media] solo6x10: small big-endian fix
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
4718892f0f
commit
225642853a
@ -181,7 +181,7 @@ static int solo_dma_vin_region(struct solo_dev *solo_dev, u32 off,
|
||||
int ret = 0;
|
||||
|
||||
for (i = 0; i < sizeof(buf) >> 1; i++)
|
||||
buf[i] = val;
|
||||
buf[i] = cpu_to_le16(val);
|
||||
|
||||
for (i = 0; i < reg_size; i += sizeof(buf))
|
||||
ret |= solo_p2m_dma(solo_dev, 1, buf,
|
||||
|
Loading…
Reference in New Issue
Block a user