commit | 08e43223fb4ec05baec6d07fb55f7e979bb289c9 | [log] [tgz] |
---|---|---|
author | Tsuchiya Yuto <kitakar@gmail.com> | Mon Oct 18 01:19:43 2021 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jan 27 10:53:47 2022 +0100 |
tree | d608613a0710848c50c1b5c973e588096ae7889b | |
parent | fb370f6dc7d5dcc9a01456ae11be8811cbd47675 [diff] |
media: atomisp: fix inverted logic in buffers_needed() [ Upstream commit e1921cd14640f0f4d1fad5eb8e448c58a536415d ] When config.mode is IA_CSS_INPUT_MODE_BUFFERED_SENSOR, it rather needs buffers. Fix it by inverting the return value. Fixes: 3c0538fbad9f ("media: atomisp: get rid of most checks for ISP2401 version") Signed-off-by: Tsuchiya Yuto <kitakar@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>