diff options
author | Sherry Sun <sherry.sun@nxp.com> | 2020-09-29 17:11:06 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 09:58:04 +0100 |
commit | 85efddd97b72c193452351c35f51d2c3c7641375 (patch) | |
tree | 80f1f4bd92e7e1111dda53148435e7339f8dfb99 /samples | |
parent | e93b629d347e5532c1b6ea0857b8cacd567a70e4 (diff) |
mic: vop: copy data to kernel space then write to io memory
[ Upstream commit 675f0ad4046946e80412896436164d172cd92238 ]
Read and write io memory should address align on ARCH ARM. Change to use
memcpy_toio to avoid kernel panic caused by the address un-align issue.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Link: https://lore.kernel.org/r/20200929091106.24624-5-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions