ASoC: rsnd: fixup flag name of rsnd_scu_platform_info
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 9 Sep 2013 04:21:41 +0000 (21:21 -0700)
committerMark Brown <broonie@linaro.org>
Mon, 9 Sep 2013 15:06:20 +0000 (16:06 +0100)
it should be *USE*, not *USB*

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/rcar_snd.h
sound/soc/sh/rcar/scu.c

index d35412ae03b3805294a11fbd86170005a31111d0..fe66533e9b7a51ef143acd33ff398bee47f71398 100644 (file)
@@ -55,7 +55,7 @@ struct rsnd_ssi_platform_info {
 /*
  * flags
  */
-#define RSND_SCU_USB_HPBIF             (1 << 31) /* it needs RSND_SSI_DEPENDENT */
+#define RSND_SCU_USE_HPBIF             (1 << 31) /* it needs RSND_SSI_DEPENDENT */
 
 struct rsnd_scu_platform_info {
        u32 flags;
index 184d9008cecd2f1080c5f6491bdc14de9221c910..2df2e9150b893498ffbc15991b1a47e2f9dfd47a 100644 (file)
@@ -157,9 +157,9 @@ static int rsnd_scu_start(struct rsnd_mod *mod,
        int ret;
 
        /*
-        * SCU will be used if it has RSND_SCU_USB_HPBIF flags
+        * SCU will be used if it has RSND_SCU_USE_HPBIF flags
         */
-       if (!(flags & RSND_SCU_USB_HPBIF)) {
+       if (!(flags & RSND_SCU_USE_HPBIF)) {
                /* it use PIO transter */
                dev_dbg(dev, "%s%d is not used\n",
                        rsnd_mod_name(mod), rsnd_mod_id(mod));