diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-07-02 14:27:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-10 08:52:03 +0200 |
commit | 6732f6d09bde6b8957c866915c2a28e3a8605183 (patch) | |
tree | dc44abe629d75a858ca1b1abb14c6e613c442d07 /drivers/uwb | |
parent | 12b093d3b6444e67780840b2a8c30768193eab4d (diff) |
staging: rts5208: fix missing error check on call to rtsx_write_register
[ Upstream commit c5fae4f4fd28189b1062fb8ef7b21fec37cb8b17 ]
Currently the check on error return from the call to rtsx_write_register
is checking the error status from the previous call. Fix this by adding
in the missing assignment of retval.
Detected by CoverityScan, CID#709877
Fixes: fa590c222fba ("staging: rts5208: add support for rts5208 and rts5288")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions