]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: atmel-classd: remove codec component
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Wed, 8 Jul 2020 10:12:49 +0000 (13:12 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 9 Jul 2020 21:20:28 +0000 (22:20 +0100)
commit676046fa4aa48f2a9008357309773e2c8ca14cb2
tree6b9d91c50315ea519a3cfb1e7beac9b90a6188c8
parent78e49dca001318adf8b6ae9bbf62550ae598bfe4
ASoC: atmel-classd: remove codec component

The CPU and the codec both are represented now as components, so for
CLASS-D we are registering two componenets with the same name. Since
there is no actual codec, we will merge the codec component into the
CPU one and use a dummy codec instead, for the DAI link.
As a bonus, debugfs will no longer report an error when will try to
create entries for both componenets with the same name.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20200708101249.2626560-1-codrin.ciubotariu@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel-classd.c