remoteproc: imx_rproc: Fix ignoring mapping vdev regions
authorDong Aisheng <aisheng.dong@nxp.com>
Fri, 10 Sep 2021 09:06:19 +0000 (17:06 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 27 Sep 2021 23:37:07 +0000 (18:37 -0500)
commitafe670e23af91d8a74a8d7049f6e0984bbf6ea11
tree2615fe6c4e13e558b55a65cbae4315f106b1a241
parent91bb26637353f35241f5472eedf3202ebe13e2e5
remoteproc: imx_rproc: Fix ignoring mapping vdev regions

vdev regions are typically named vdev0buffer, vdev0ring0, vdev0ring1 and
etc. Change to strncmp to cover them all.

Fixes: 8f2d8961640f ("remoteproc: imx_rproc: ignore mapping vdev regions")
Reviewed-and-tested-by: Peng Fan <peng.fan@nxp.com>
Signed-off-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-5-peng.fan@oss.nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/imx_rproc.c