]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: sor: Parse more data from HDA format
authorThierry Reding <treding@nvidia.com>
Thu, 3 Jan 2019 14:23:15 +0000 (15:23 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 16 Jan 2019 12:10:03 +0000 (13:10 +0100)
commitab04a10cf0bf47de203af5335096b149b3444ab8
tree94a183c5bf201630939afc0617c7ced67b9f8d41
parent7ab6e20e854fbae34b34d22b79ece80e44f32f46
drm/tegra: sor: Parse more data from HDA format

The HDA format data passed to the SOR from the HDA codec contains more
information than just the rate and number of channels. Parse all the
fields and store them in an internal structure for subsequent use.

While at it, also fix an off-by-one error in the number of channels.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c