commit | 1ed498b03d3e999dd270815a2f18f0b81998b83f | [log] [tgz] |
---|---|---|
author | John Keeping <john@metanate.com> | Fri Feb 24 12:54:53 2017 +0000 |
committer | Sean Paul <seanpaul@chromium.org> | Wed Mar 01 14:48:53 2017 -0500 |
tree | 8d519fb27e237faa74f8584914bb64ace68cc970 | |
parent | 7361c6f82940db147e6bbfd3ae2b8359d1004020 [diff] |
drm/rockchip: dw-mipi-dsi: don't assume buffer is aligned By dereferencing the MIPI command buffer as a u32* we rely on it being correctly aligned on ARM, but this may not be the case. Copy it into a stack variable that will be correctly aligned. Signed-off-by: John Keeping <john@metanate.com> Reviewed-by: Chris Zhong <zyw@rock-chips.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/20170224125506.21533-11-john@metanate.com