On Tue, Nov 28, 2023 at 11:55:25AM +0100, Marc Kleine-Budde wrote: > we are using an I2C connected ti,tlv320aic3007. During probe, > regmap_register_patch() returns -6, which leads to the error message: > "tlv320aic3x 2-0018: Failed to init class D: -6". I think this is > because the codec is still in reset and does not respond to the I2C > How to get rid of the error message? Power on the codec, just to write > the register sequence or don't print the error message on "-6"? Yes, power on the CODEC - if you're applying a patch the expectation is that it should actually be applied to the device, otherwise things might get confused later.
Attachment:
signature.asc
Description: PGP signature