]> 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)
commitd87e038bb701b1bb10231817aaf4dda1f3a9abfa
treedf44511d5c65f8ba8b5b5c50714b808c9ae2331e
parent64a046310e2f9d8af22df6274d93b2633b8b9858
Revert "media: gspca: Check the return value of write_bridge for timeout"

This reverts commit 6f22f859c0800fdeac922bbe02fd15c250d466ec.

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