diff options
| author | Peng Fan <peng.fan@nxp.com> | 2021-09-10 12:06:16 +0300 |
|---|---|---|
| committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-09-28 02:37:01 +0300 |
| commit | 24acbd9dc934f5d9418a736c532d3970a272063e (patch) | |
| tree | c2b1e4143afecb38659fb47118fce678f9629722 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | c1fe10d238c0256a77dbc4bf6493b9782b2a218d (diff) | |
| download | linux-24acbd9dc934f5d9418a736c532d3970a272063e.tar.xz | |
remoteproc: elf_loader: Fix loading segment when is_iomem true
It seems luckliy work on i.MX platform, but it is wrong.
Need use memcpy_toio, not memcpy_fromio.
Fixes: 40df0a91b2a5 ("remoteproc: add is_iomem to da_to_va")
Tested-by: Dong Aisheng <aisheng.dong@nxp.com> (i.MX8MQ)
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210910090621.3073540-2-peng.fan@oss.nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
