summaryrefslogtreecommitdiff
path: root/src/control/control_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/control/control_hw.c')
-rw-r--r--src/control/control_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/control_hw.c b/src/control/control_hw.c
index 13ee2a7f..aeb2c23e 100644
--- a/src/control/control_hw.c
+++ b/src/control/control_hw.c
@@ -116,7 +116,7 @@ static int snd_ctl_hw_subscribe_events(snd_ctl_t *handle, int subscribe)
SYSERR("SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS failed");
return -errno;
}
- return subscribe;
+ return 0;
}
static int snd_ctl_hw_card_info(snd_ctl_t *handle, snd_ctl_card_info_t *info)