mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 17:30:53 +07:00
ALSA: control: Fix a typo of SNDRV_CTL_ELEM_ACCESS_TLV_* with SNDRV_CTL_TLV_OP_*
The commit [39d118677b
: ALSA: ctl: evaluate macro instead of numerical value] replaced the numbers with constants, but one place was replaced wrongly with a different type. Fixed now. Fixes:39d118677b
('ALSA: ctl: evaluate macro instead of numerical value') Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
99dcab46b5
commit
c30cf8cbe5
@ -1432,7 +1432,7 @@ static int snd_ctl_tlv_ioctl(struct snd_ctl_file *file,
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
if (op_flag != SNDRV_CTL_ELEM_ACCESS_TLV_READ) {
|
||||
if (op_flag != SNDRV_CTL_TLV_OP_READ) {
|
||||
err = -ENXIO;
|
||||
goto __kctl_end;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user