Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32c666f9 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Ajay Agarwal
Browse files

usb: gadget: u_audio: remove caching of stream buffer parameters



There is no necessity to copy PCM stream ring buffer area and size
properties to UAC private data structure, these values can be got
from substream itself.

The change gives more control on substream and avoid stale caching.

Change-Id: I305a3aab7c80efe153cb3e14d060d883d3637ab3
Fixes: 132fcb46 ("usb: gadget: Add Audio Class 2.0 Driver")
Signed-off-by: default avatarVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: default avatarEugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
Git-commit: 96afb54ece0ee903d23a7ac04ddc461413b972c4
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 06e25fbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment