mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 02:05:33 +00:00
ALSA: ctxfi - Fix incorrect SPDIF status bit mask
SPDIF status mask creation was incorrect. Signed-off-by: Przemyslaw Bruski <pbruskispam@op.pl> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
19002fd5f1
commit
4c1847e884
@ -869,7 +869,7 @@ spdif_passthru_playback_setup(struct ct_atc *atc, struct ct_atc_pcm *apcm)
|
||||
mutex_lock(&atc->atc_mutex);
|
||||
dao->ops->get_spos(dao, &status);
|
||||
if (((status >> 24) & IEC958_AES3_CON_FS) != iec958_con_fs) {
|
||||
status &= ((~IEC958_AES3_CON_FS) << 24);
|
||||
status &= ~(IEC958_AES3_CON_FS << 24);
|
||||
status |= (iec958_con_fs << 24);
|
||||
dao->ops->set_spos(dao, status);
|
||||
dao->ops->commit_write(dao);
|
||||
|
Loading…
x
Reference in New Issue
Block a user