On Wed, Sep 18, 2019 at 12:46:26PM +0200, Sylwester Nawrocki wrote: > In case of WM1811 device there are currently being registered controls > referring to registers not existing on that device. > It has been noticed when getting values of "AIF1ADC2 Volume", "AIF1DAC2 > Volume" controls was failing during ALSA state restoring at boot time: > "amixer: Mixer hw:0 load error: Device or resource busy" > > Reading some registers through I2C was failing with EBUSY error and indeed > those registers were not available according to the datasheet. > > To fix this controls not available on WM1811 are moved to a separate array > and registered only for WM8994 and WM8958. > > There are some further differences between WM8994 and WM1811, e.g. registers > 603h, 604h, 605h, which are not covered in this patch. > > Signed-off-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx> > --- > sound/soc/codecs/wm8994.c | 43 +++++++++++++++++++++++---------------- > 1 file changed, 26 insertions(+), 17 deletions(-) Acked-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx> Best regards, Krzysztof _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx https://mailman.alsa-project.org/mailman/listinfo/alsa-devel