mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
Revert "ALSA: usb-audio: Correct the return code from snd_usb_endpoint_set_params()"
This reverts commit3191a00dbewhich is commit9355b60e40upstream. It breaks the Android kernel abi and can be brought back in the future in an abi-safe way if it is really needed. Bug: 161946584 Change-Id: I885ce7e2307f14ecc49ec45c1e1ebd288ca70407 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -1392,8 +1392,6 @@ int snd_usb_endpoint_set_params(struct snd_usb_audio *chip,
|
|||||||
ep->curframesize = ep->curpacksize / ep->cur_frame_bytes;
|
ep->curframesize = ep->curpacksize / ep->cur_frame_bytes;
|
||||||
|
|
||||||
err = update_clock_ref_rate(chip, ep);
|
err = update_clock_ref_rate(chip, ep);
|
||||||
if (err >= 0)
|
|
||||||
err = 0;
|
|
||||||
unlock:
|
unlock:
|
||||||
mutex_unlock(&chip->mutex);
|
mutex_unlock(&chip->mutex);
|
||||||
return err;
|
return err;
|
||||||
|
|||||||
Reference in New Issue
Block a user