OSDN Git Service

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)
commit1dfdbe73ccf95765135b1b1ee8335ea3cb16bca0
tree6b9d91c50315ea519a3cfb1e7beac9b90a6188c8
parent6940701c715e193282cf8b31f970b2ea6eb26341
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