diff options
author | Arun Kumar Neelakantam <aneela@codeaurora.org> | 2018-10-03 17:08:20 +0530 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-10-03 17:04:32 -0700 |
commit | 928002a5e9dab2ddc1a0fe3e00739e89be30dc6b (patch) | |
tree | 65ad096c69f31845d38a574a2f7b49b91fbbdf61 /lib/crc8.c | |
parent | 940c620d6af8fca7d115de40f19870fba415efac (diff) |
rpmsg: glink: smem: Support rx peak for size less than 4 bytes
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>
Diffstat (limited to 'lib/crc8.c')
0 files changed, 0 insertions, 0 deletions