Re: [PATCH 1/2] ASoC: wm8994: Skip setting of the WM8994_MICBIAS register for WM1811

From: Krzysztof Kozlowski
Date: Fri Aug 28 2020 - 02:41:42 EST


On Thu, Aug 27, 2020 at 07:33:56PM +0200, Sylwester Nawrocki wrote:
> The WM8994_MICBIAS register is not available in the WM1811 CODEC so skip
> initialization of that register for that device.
> This suppresses an error during boot:
> "wm8994-codec: ASoC: error at snd_soc_component_update_bits on wm8994-codec"
>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
> ---
> sound/soc/codecs/wm8994.c | 2 ++
> sound/soc/codecs/wm_hubs.c | 3 +++
> sound/soc/codecs/wm_hubs.h | 1 +
> 3 files changed, 6 insertions(+)

Acked-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Best regards,
Krzysztof