[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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue