From: Kuninori Morimoto <[email protected]>

Signed-off-by: Kuninori Morimoto <[email protected]>
---
 sound/soc/sh/rcar/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c
index 21e13b3..769d34c 100644
--- a/sound/soc/sh/rcar/core.c
+++ b/sound/soc/sh/rcar/core.c
@@ -927,7 +927,7 @@ static int rsnd_kctrl_put(struct snd_kcontrol *kctrl,
                }
        }
 
-       if (change)
+       if (change && cfg->update)
                cfg->update(cfg->io, mod);
 
        return change;
-- 
1.9.1

Reply via email to