diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-01-15 03:02:24 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-15 06:37:47 -0500 |
commit | 798cbb400aa0198f8ed5aa0a0b0691985885e14c (patch) | |
tree | 8c608f59620fa13a00013e5f1dbda8faf4d49307 | |
parent | cfcefe01265cbaf5ca7209226d043b07bfa8b587 (diff) |
ASoC: rsnd: remove unsed .rate
rsnd_ssi::rate is not used. Let's remove it
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/sh/rcar/ssi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c index 3844fbef4664..df10585dd325 100644 --- a/sound/soc/sh/rcar/ssi.c +++ b/sound/soc/sh/rcar/ssi.c | |||
@@ -70,7 +70,6 @@ struct rsnd_ssi { | |||
70 | u32 cr_clk; | 70 | u32 cr_clk; |
71 | int err; | 71 | int err; |
72 | unsigned int usrcnt; | 72 | unsigned int usrcnt; |
73 | unsigned int rate; | ||
74 | }; | 73 | }; |
75 | 74 | ||
76 | #define for_each_rsnd_ssi(pos, priv, i) \ | 75 | #define for_each_rsnd_ssi(pos, priv, i) \ |
@@ -157,7 +156,6 @@ static int rsnd_ssi_master_clk_start(struct rsnd_ssi *ssi, | |||
157 | 156 | ||
158 | ret = rsnd_adg_ssi_clk_try_start(&ssi->mod, main_rate); | 157 | ret = rsnd_adg_ssi_clk_try_start(&ssi->mod, main_rate); |
159 | if (0 == ret) { | 158 | if (0 == ret) { |
160 | ssi->rate = rate; | ||
161 | ssi->cr_clk = FORCE | SWL_32 | | 159 | ssi->cr_clk = FORCE | SWL_32 | |
162 | SCKD | SWSD | CKDV(j); | 160 | SCKD | SWSD | CKDV(j); |
163 | 161 | ||
@@ -176,7 +174,6 @@ static int rsnd_ssi_master_clk_start(struct rsnd_ssi *ssi, | |||
176 | 174 | ||
177 | static void rsnd_ssi_master_clk_stop(struct rsnd_ssi *ssi) | 175 | static void rsnd_ssi_master_clk_stop(struct rsnd_ssi *ssi) |
178 | { | 176 | { |
179 | ssi->rate = 0; | ||
180 | ssi->cr_clk = 0; | 177 | ssi->cr_clk = 0; |
181 | rsnd_adg_ssi_clk_stop(&ssi->mod); | 178 | rsnd_adg_ssi_clk_stop(&ssi->mod); |
182 | } | 179 | } |