commit | 56d976f45000f0b8fec0611baf9e3af6c58fc177 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Aug 16 21:39:47 2021 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 15 09:50:43 2021 +0200 |
tree | e4b38c16d5acdcdb485b8a21c19e85d8efe6a97d | |
parent | 110ce7d256a34489e340bfa27f12cda94ab1f751 [diff] |
rsi: fix an error code in rsi_probe() [ Upstream commit 9adcdf6758d7c4c9bdaf22d78eb9fcae260ed113 ] Return -ENODEV instead of success for unsupported devices. Fixes: 54fdb318c111 ("rsi: add new device model for 9116") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20210816183947.GA2119@kili Signed-off-by: Sasha Levin <sashal@kernel.org>