]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: atmel-pdmic: remove codec component
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Wed, 8 Jul 2020 16:33:59 +0000 (19:33 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 9 Jul 2020 21:20:29 +0000 (22:20 +0100)
commit6d62fe53fe1d5bd8a9a4a07853d9c776ab806f77
tree19a2dac94721734350277f5a155d896b9c1b9853
parent676046fa4aa48f2a9008357309773e2c8ca14cb2
ASoC: atmel-pdmic: remove codec component

The CPU and the codec both are represented now as components, so for
PDMIC 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/20200708163359.2698696-1-codrin.ciubotariu@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel-pdmic.c