| From e66f912c0a82f416b8d96ff8d4e85a45d38aa576 Mon Sep 17 00:00:00 2001 |
| From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Date: Sun, 8 Sep 2013 21:21:41 -0700 |
| Subject: ASoC: rsnd: fixup flag name of rsnd_scu_platform_info |
| |
| it should be *USE*, not *USB* |
| |
| Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Signed-off-by: Mark Brown <broonie@linaro.org> |
| (cherry picked from commit 34e4447515a18e0602f6df1a08b6a6ea63dea14b) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| include/sound/rcar_snd.h | 2 +- |
| sound/soc/sh/rcar/scu.c | 4 ++-- |
| 2 files changed, 3 insertions(+), 3 deletions(-) |
| |
| diff --git a/include/sound/rcar_snd.h b/include/sound/rcar_snd.h |
| index d35412ae03b3..fe66533e9b7a 100644 |
| --- a/include/sound/rcar_snd.h |
| +++ b/include/sound/rcar_snd.h |
| @@ -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; |
| diff --git a/sound/soc/sh/rcar/scu.c b/sound/soc/sh/rcar/scu.c |
| index 184d9008cecd..2df2e9150b89 100644 |
| --- a/sound/soc/sh/rcar/scu.c |
| +++ b/sound/soc/sh/rcar/scu.c |
| @@ -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)); |
| -- |
| 1.8.5.rc3 |
| |