]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "media: gspca: mt9m111: Check write_bridge for timeout"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 May 2021 11:57:27 +0000 (13:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 16:32:43 +0000 (18:32 +0200)
commit1df3ae5358643ac1979729c09c5dd861b0e82a32
treefdcce3e4abb8cff73b063e30dc8b8624fd2f783a
parentac55b4fcfd337eb7ab54c7e059ec79b86877e17e
Revert "media: gspca: mt9m111: Check write_bridge for timeout"

This reverts commit a6f6f853b82d74a5a29fa685b3e2a754a2d28be9.

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-61-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/usb/gspca/m5602/m5602_mt9m111.c