diff --git a/sound/soc/codecs/tfa_container.c b/sound/soc/codecs/tfa_container.c index 48c5b820596a..8cc11c1739d2 100755 --- a/sound/soc/codecs/tfa_container.c +++ b/sound/soc/codecs/tfa_container.c @@ -289,7 +289,7 @@ int tfaContWriteRegsProf(struct tfa98xx *tfa98xx, int profile) err = tfaRunWriteBitfield(tfa98xx, tfaContDsc2Bf(prof->list[i])); } - if (!prof->list[i].type == dscRegister) { + if ((!prof->list[i].type) == dscRegister) { err = tfaRunWriteRegister(tfa98xx, (struct nxpTfaRegpatch *)(base + prof->list[i].offset)); }