]> 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)
commit8c02909fb769aada62ed620dbf06f06742c79cf2
tree19a2dac94721734350277f5a155d896b9c1b9853
parentcc8374eaf46715a32de3bde4ed53c09c4c1ba298
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