Repository navigation
media: bcm2835-unicam: Handle a repeated frame start with no end - #4873
Merged
Merged
Conversation
Contributor
Author
|
@naushir As discussed earlier. |
Contributor
Author
|
Hang on, I've just had a kernel panic in |
In the case of 2 frame starts being received with no frame end between, the queued buffer held in next_frm was lost as the pointer was overwritten with the dummy buffer. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Contributor
Author
|
Updated to check that cur_frm isn't NULL before putting it back on the list. |
popcornmix
added a commit
to raspberrypi/firmware
that referenced
this pull request
Feb 7, 2022
kernel: DRM/KMS Pimoroni HyperPixel4 driver See: raspberrypi/linux#4812 kernel: media: bcm2835-unicam: Handle a repeated frame start with no end See: raspberrypi/linux#4873 kernel: net: phy: lan87xx: Decrease phy polling rate See: raspberrypi/linux#4812
popcornmix
added a commit
to raspberrypi/rpi-firmware
that referenced
this pull request
Feb 7, 2022
kernel: DRM/KMS Pimoroni HyperPixel4 driver See: raspberrypi/linux#4812 kernel: media: bcm2835-unicam: Handle a repeated frame start with no end See: raspberrypi/linux#4873 kernel: net: phy: lan87xx: Decrease phy polling rate See: raspberrypi/linux#4812
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the case of 2 frame starts being received with no frame end
between, the queued buffer held in next_frm was lost as the
pointer was overwritten with the dummy buffer.
Signed-off-by: Dave Stevenson dave.stevenson@raspberrypi.com