Repository navigation
Prevent A4tech FHD 1080p webcams from being suspended automatically - #4283
Merged
Merged
Conversation
These devices use a type of Sonix chipset that produces broken microphone data if suspended/resumed. They also don't support readback of the sample rate. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
be suspended Webcams with microphones are composite devices, and autosuspend is set at the device level. If uvcvideo is probed after snd-usb-audio, the effect of the quirk applied by snd-usb-audio is undone by uvcvideo's global application of autosuspend. Incrementing the interface's PM refcount in such cases prevents runtime PM from happening, thus the device is left active. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
Contributor
|
To require one patch might be considered unfortunate, but two is... very unfortunate, |
popcornmix
added a commit
to raspberrypi/firmware
that referenced
this pull request
Apr 19, 2021
kernel: Update Allo Piano Plus DAC driver See: raspberrypi/linux#4258 kernel: sc16is7xx: Defer probe if device read fails See: raspberrypi/linux#4272 kernel: Codec Fixes for the tlv320aic32x4 codec on 5.10 See: raspberrypi/linux#4273 kernel: HDR improvements See: raspberrypi/linux#4268 kernel: staging: vcsm-cma: Fix memory leak from not detaching dmabuf See: raspberrypi/linux#4277 kernel: vc4/kms: vc4_plane: Support 2020 colourspace for yuv planes See: raspberrypi/linux#4276 kernel: Prevent A4tech FHD 1080p webcams from being suspended automatically See: raspberrypi/linux#4283 kernel: overlays: ghost-amp: Add DAC mute control
popcornmix
added a commit
to Hexxeh/rpi-firmware
that referenced
this pull request
Apr 19, 2021
kernel: Update Allo Piano Plus DAC driver See: raspberrypi/linux#4258 kernel: sc16is7xx: Defer probe if device read fails See: raspberrypi/linux#4272 kernel: Codec Fixes for the tlv320aic32x4 codec on 5.10 See: raspberrypi/linux#4273 kernel: HDR improvements See: raspberrypi/linux#4268 kernel: staging: vcsm-cma: Fix memory leak from not detaching dmabuf See: raspberrypi/linux#4277 kernel: vc4/kms: vc4_plane: Support 2020 colourspace for yuv planes See: raspberrypi/linux#4276 kernel: Prevent A4tech FHD 1080p webcams from being suspended automatically See: raspberrypi/linux#4283 kernel: overlays: ghost-amp: Add DAC mute control
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.
A variant of this camera has an annoying bug surrounding suspend/resume. These two commits fix it.