diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-03-15 10:17:12 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-25 07:48:59 -0400 |
commit | 225642853a1f2536757b775f76d925b78622ae28 (patch) | |
tree | 720120ac697998df0c3ff50623dd357b488be1e8 | |
parent | 4718892f0f8998685ed7980cb723a165030ae50d (diff) |
[media] solo6x10: small big-endian fix
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/staging/media/solo6x10/disp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/solo6x10/disp.c b/drivers/staging/media/solo6x10/disp.c index 3dcaad98c70f..7007006e9638 100644 --- a/drivers/staging/media/solo6x10/disp.c +++ b/drivers/staging/media/solo6x10/disp.c | |||
@@ -181,7 +181,7 @@ static int solo_dma_vin_region(struct solo_dev *solo_dev, u32 off, | |||
181 | int ret = 0; | 181 | int ret = 0; |
182 | 182 | ||
183 | for (i = 0; i < sizeof(buf) >> 1; i++) | 183 | for (i = 0; i < sizeof(buf) >> 1; i++) |
184 | buf[i] = val; | 184 | buf[i] = cpu_to_le16(val); |
185 | 185 | ||
186 | for (i = 0; i < reg_size; i += sizeof(buf)) | 186 | for (i = 0; i < reg_size; i += sizeof(buf)) |
187 | ret |= solo_p2m_dma(solo_dev, 1, buf, | 187 | ret |= solo_p2m_dma(solo_dev, 1, buf, |