]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "media: tuners: fix error return code of hybrid_tuner_request_state()"
authorRoman Smirnov <r.smirnov@omp.ru>
Tue, 16 Jul 2024 09:10:40 +0000 (12:10 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:46 +0000 (16:29 +0200)
commite48edd4762910d6ab0bc5edf00af4397d7b28253
treec9f2da1b2fce115de1eb4e13f4ec13f32771f659
parenta4c2fbed2037ec0acddee3ca0425f175c5c7a3aa
Revert "media: tuners: fix error return code of hybrid_tuner_request_state()"

commit e25cc4be4616fcf5689622b3226d648aab253cdb upstream.

This reverts commit b9302fa7ed979e84b454e4ca92192cf485a4ed41.

As Fedor Pchelkin pointed out, this commit violates the
convention of using the macro return value, which causes errors.
For example, in functions tda18271_attach(), xc5000_attach(),
simple_tuner_attach().

Link: https://lore.kernel.org/linux-media/20240424202031.syigrtrtipbq5f2l@fpc/
Suggested-by: Fedor Pchelkin <pchelkin@ispras.ru>
Signed-off-by: Roman Smirnov <r.smirnov@omp.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/tuners/tuner-i2c.h