diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-04-12 03:16:11 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-12 03:18:14 -0400 |
commit | c30cf8cbe55413cd643a0bdd3442d75950caa918 (patch) | |
tree | d8b57c1ee4d587f1fa4060a0c89d7487775331c0 | |
parent | 99dcab46b5a5b470074bec6d8386e2c7807684cf (diff) |
ALSA: control: Fix a typo of SNDRV_CTL_ELEM_ACCESS_TLV_* with SNDRV_CTL_TLV_OP_*
The commit [39d118677baa: 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: 39d118677baa ('ALSA: ctl: evaluate macro instead of numerical value')
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/core/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/control.c b/sound/core/control.c index ccb1ca26a71e..be5b97cd8dc3 100644 --- a/sound/core/control.c +++ b/sound/core/control.c | |||
@@ -1432,7 +1432,7 @@ static int snd_ctl_tlv_ioctl(struct snd_ctl_file *file, | |||
1432 | return 0; | 1432 | return 0; |
1433 | } | 1433 | } |
1434 | } else { | 1434 | } else { |
1435 | if (op_flag != SNDRV_CTL_ELEM_ACCESS_TLV_READ) { | 1435 | if (op_flag != SNDRV_CTL_TLV_OP_READ) { |
1436 | err = -ENXIO; | 1436 | err = -ENXIO; |
1437 | goto __kctl_end; | 1437 | goto __kctl_end; |
1438 | } | 1438 | } |