Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c30cf8cb authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: control: Fix a typo of SNDRV_CTL_ELEM_ACCESS_TLV_* with SNDRV_CTL_TLV_OP_*



The commit [39d11867: 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: 39d11867 ('ALSA: ctl: evaluate macro instead of numerical value')
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 99dcab46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}