staging: bcm2835-camera: Check the error for REPEAT_SEQ_HEADER (#2782)
author6by9 <6by9@users.noreply.github.com>
Tue, 11 Dec 2018 15:18:02 +0000 (15:18 +0000)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:15 +0000 (00:08 +0100)
commit6e2165b72836b60b89cb34ebb05289a5218b9cb2
tree0ec7ec728e0eafb9d88347bdd0eae23316122f99
parent16e5bb3d7a8b27ccdc42466b2a5c06ceabd1370c
staging: bcm2835-camera: Check the error for REPEAT_SEQ_HEADER (#2782)

When handling for V4L2_CID_MPEG_VIDEO_REPEAT_SEQ_HEADER was added
the firmware would reject the setting if H264 hadn't already been
selected. This was fixed in the firmware at that point, but to
enable backwards compatibility the returned error was ignored.

That was Dec 2013, so the chances of having a firmware that still
has that issue is so close to zero that the workaround can be
removed.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/staging/vc04_services/bcm2835-camera/controls.c