remoteproc: debugfs: Return error on invalid 'count' value
authorLee Jones <lee.jones@linaro.org>
Tue, 12 Jan 2016 12:46:15 +0000 (12:46 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 30 Jan 2016 01:26:47 +0000 (17:26 -0800)
commit47fff9fd8a7848c44c83b34ad7825d2185b9b319
tree20b30514f774c9e575ad00827a161fac735994c4
parent99c429cb4e628e8b6b8131910952436ad10b21f5
remoteproc: debugfs: Return error on invalid 'count' value

If 'count' value is invalid, return -EINVAL.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
[bjorn: changed commit message]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_debugfs.c