ASoC: max9867: shutdown codec when changing filter type
authorPavel Dobias <dobias@2n.cz>
Thu, 27 Aug 2020 10:25:28 +0000 (12:25 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 27 Aug 2020 13:43:24 +0000 (14:43 +0100)
commita11ffbbac9cc7fdd73b01a0d8227ef8a1d2b95da
tree0ef474828f21638895dae677a0bec411a436eadf
parentf7660445c8e7fda91e8b944128554249d886b1d4
ASoC: max9867: shutdown codec when changing filter type

Changing filter type without disabling codec results in filter
malfunction. Disable codec when changing filter type.

Signed-off-by: Pavel Dobias <dobias@2n.cz>
Link: https://lore.kernel.org/r/20200827102528.29677-1-dobias@2n.cz
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max9867.c
sound/soc/codecs/max9867.h