]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "media: gspca: Check the return value of write_bridge for timeout"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 May 2021 11:57:29 +0000 (13:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 16:58:28 +0000 (18:58 +0200)
commit51d309690e77eb72138b56a9833f8410e09c91fd
treedf44511d5c65f8ba8b5b5c50714b808c9ae2331e
parent83646e24a4878f887b4559f2f1c60a5f891bd7a8
Revert "media: gspca: Check the return value of write_bridge for timeout"

This reverts commit b76e2bc6c310884bc716634ea25763612e10e9c7.

Because of recent interactions with developers from @umn.edu, all
commits from them have been recently re-reviewed to ensure if they were
correct or not.

Upon review, this commit was found to be incorrect for the reasons
below, so it must be reverted.  It will be fixed up "correctly" in a
later kernel change.

Different error values should never be "OR" together and expect anything
sane to come out of the result.

Cc: Aditya Pakki <pakki001@umn.edu>
Cc: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Link: https://lore.kernel.org/r/20210503115736.2104747-63-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/usb/gspca/m5602/m5602_po1030.c