diff options
Diffstat (limited to 'sound/core/control.c')
-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 249140c15d64..de976a8c0177 100644 --- a/sound/core/control.c +++ b/sound/core/control.c @@ -1128,7 +1128,7 @@ static int replace_user_tlv(struct snd_kcontrol *kctl, unsigned int __user *buf, change = ue->tlv_data_size != size; if (!change) - change = memcmp(ue->tlv_data, container, size); + change = memcmp(ue->tlv_data, container, size) != 0; if (!change) { kfree(container); return 0; |