kernel-fxtec-pro1x/drivers/rpmsg
Arun Kumar Neelakantam 674b223d7a rpmsg: glink: smem: Support rx peak for size less than 4 bytes
[ Upstream commit 928002a5e9dab2ddc1a0fe3e00739e89be30dc6b ]

The current rx peak function fails to read the data if size is
less than 4bytes.

Use memcpy_fromio to support data reads of size less than 4 bytes.

Cc: stable@vger.kernel.org
Fixes: f0beb4ba9b18 ("rpmsg: glink: Remove chunk size word align warning")
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-24 08:20:05 +01:00
..
Kconfig rpmsg: Switch to SPDX license identifier 2018-06-03 17:37:11 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qcom_glink_native.c rpmsg: glink: Store edge name for glink device 2018-07-30 23:39:04 -07:00
qcom_glink_native.h rpmsg: glink: Switch to SPDX license identifier 2018-06-03 17:37:15 -07:00
qcom_glink_rpm.c rpmsg: glink: Switch to SPDX license identifier 2018-06-03 17:37:15 -07:00
qcom_glink_smem.c rpmsg: glink: smem: Support rx peak for size less than 4 bytes 2019-11-24 08:20:05 +01:00
qcom_smd.c rpmsg: smd: fix memory leak on channel create 2018-11-13 11:08:55 -08:00
rpmsg_char.c rpmsg: Add compat ioctl for rpmsg char driver 2018-07-30 23:40:23 -07:00
rpmsg_core.c rpmsg: core: add support to power domains for devices 2018-07-30 23:32:03 -07:00
rpmsg_internal.h rpmsg: Switch to SPDX license identifier 2018-06-03 17:37:11 -07:00
virtio_rpmsg_bus.c rpmsg: virtio_rpmsg_bus: Switch to SPDX license identifier 2018-06-03 17:37:13 -07:00