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-02 15:57:29 +0200 |
commit | 675f0ad4046946e80412896436164d172cd92238 (patch) | |
tree | ecf650b3f3e2d67fa0857b2e2fd8b70dabba8ca8 /drivers/bus | |
parent | cc1a2679865a94b83804822996eed010a50a7c1d (diff) |
mic: vop: copy data to kernel space then write to io memory
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>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions