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)
commitf3c668074a04020c06e434c51b030bad1702aa12
tree19a2dac94721734350277f5a155d896b9c1b9853
parent1dfdbe73ccf95765135b1b1ee8335ea3cb16bca0
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