diff options
| author | Wentao Liang <[email protected]> | 2025-05-14 09:24:44 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2025-05-14 10:13:03 +0000 |
| commit | 9e000f1b7f31684cc5927e034360b87ac7919593 (patch) | |
| tree | 5054c4f3d6ec89b97832ca86cf3e7f95ba6b92a8 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | ALSA: sh: SND_AICA should depend on SH_DMA_API (diff) | |
| download | kernel-9e000f1b7f31684cc5927e034360b87ac7919593.tar.gz kernel-9e000f1b7f31684cc5927e034360b87ac7919593.zip | |
ALSA: es1968: Add error handling for snd_pcm_hw_constraint_pow2()
The function snd_es1968_capture_open() calls the function
snd_pcm_hw_constraint_pow2(), but does not check its return
value. A proper implementation can be found in snd_cx25821_pcm_open().
Add error handling for snd_pcm_hw_constraint_pow2() and propagate its
error code.
Fixes: b942cf815b57 ("[ALSA] es1968 - Fix stuttering capture")
Cc: [email protected] # v2.6.22
Signed-off-by: Wentao Liang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
