Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: Au1xpsc: psc not disabled when TX is idle

TX idleness isn't tested, but RX twice. PSC is not disabled when TX is idle

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Roel Kluin and committed by
Takashi Iwai
2b30a55d f6127efb

+1 -1
+1 -1
sound/soc/au1x/psc-i2s.c
··· 231 231 232 232 /* if both TX and RX are idle, disable PSC */ 233 233 stat = au_readl(I2S_STAT(pscdata)); 234 - if (!(stat & (PSC_I2SSTAT_RB | PSC_I2SSTAT_RB))) { 234 + if (!(stat & (PSC_I2SSTAT_TB | PSC_I2SSTAT_RB))) { 235 235 au_writel(0, I2S_CFG(pscdata)); 236 236 au_sync(); 237 237 au_writel(PSC_CTRL_SUSPEND, PSC_CTRL(pscdata));