diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-01-15 03:04:51 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-15 06:37:48 -0500 |
commit | 3ed6448c9509d2394532b2ed91db16fa1ef47447 (patch) | |
tree | 68c018991c2dde95265353ed1948ce8ad87425ed /sound/soc/sh/rcar/rsnd.h | |
parent | 710d088923856bb0e0369e675985047a51ba729c (diff) |
ASoC: rsnd: rename rsnd_dai_is_clk_master() to rsnd_rdai_is_clk_master()
struct rsnd_dai is called as "rdai", and struct snd_soc_dai is called
as "dai" on this driver. but macro/function have confusable naming.
This patch rename rsnd_dai_is_clk_master() to rsnd_rdai_is_clk_master()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/rsnd.h')
-rw-r--r-- | sound/soc/sh/rcar/rsnd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h index cd39f32acaa8..749b9779dd1e 100644 --- a/sound/soc/sh/rcar/rsnd.h +++ b/sound/soc/sh/rcar/rsnd.h | |||
@@ -307,6 +307,7 @@ struct rsnd_dai { | |||
307 | }; | 307 | }; |
308 | 308 | ||
309 | #define rsnd_rdai_nr(priv) ((priv)->rdai_nr) | 309 | #define rsnd_rdai_nr(priv) ((priv)->rdai_nr) |
310 | #define rsnd_rdai_is_clk_master(rdai) ((rdai)->clk_master) | ||
310 | #define for_each_rsnd_dai(rdai, priv, i) \ | 311 | #define for_each_rsnd_dai(rdai, priv, i) \ |
311 | for (i = 0; \ | 312 | for (i = 0; \ |
312 | (i < rsnd_rdai_nr(priv)) && \ | 313 | (i < rsnd_rdai_nr(priv)) && \ |
@@ -321,7 +322,6 @@ int rsnd_dai_id(struct rsnd_priv *priv, struct rsnd_dai *rdai); | |||
321 | 322 | ||
322 | void rsnd_dai_pointer_update(struct rsnd_dai_stream *io, int cnt); | 323 | void rsnd_dai_pointer_update(struct rsnd_dai_stream *io, int cnt); |
323 | int rsnd_dai_pointer_offset(struct rsnd_dai_stream *io, int additional); | 324 | int rsnd_dai_pointer_offset(struct rsnd_dai_stream *io, int additional); |
324 | #define rsnd_dai_is_clk_master(rdai) ((rdai)->clk_master) | ||
325 | 325 | ||
326 | /* | 326 | /* |
327 | * R-Car Gen1/Gen2 | 327 | * R-Car Gen1/Gen2 |