Commit 798cbb40 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: rsnd: remove unsed .rate

rsnd_ssi::rate is not used. Let's remove it
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent cfcefe01
...@@ -70,7 +70,6 @@ struct rsnd_ssi { ...@@ -70,7 +70,6 @@ struct rsnd_ssi {
u32 cr_clk; u32 cr_clk;
int err; int err;
unsigned int usrcnt; unsigned int usrcnt;
unsigned int rate;
}; };
#define for_each_rsnd_ssi(pos, priv, i) \ #define for_each_rsnd_ssi(pos, priv, i) \
...@@ -157,7 +156,6 @@ static int rsnd_ssi_master_clk_start(struct rsnd_ssi *ssi, ...@@ -157,7 +156,6 @@ static int rsnd_ssi_master_clk_start(struct rsnd_ssi *ssi,
ret = rsnd_adg_ssi_clk_try_start(&ssi->mod, main_rate); ret = rsnd_adg_ssi_clk_try_start(&ssi->mod, main_rate);
if (0 == ret) { if (0 == ret) {
ssi->rate = rate;
ssi->cr_clk = FORCE | SWL_32 | ssi->cr_clk = FORCE | SWL_32 |
SCKD | SWSD | CKDV(j); SCKD | SWSD | CKDV(j);
...@@ -176,7 +174,6 @@ static int rsnd_ssi_master_clk_start(struct rsnd_ssi *ssi, ...@@ -176,7 +174,6 @@ static int rsnd_ssi_master_clk_start(struct rsnd_ssi *ssi,
static void rsnd_ssi_master_clk_stop(struct rsnd_ssi *ssi) static void rsnd_ssi_master_clk_stop(struct rsnd_ssi *ssi)
{ {
ssi->rate = 0;
ssi->cr_clk = 0; ssi->cr_clk = 0;
rsnd_adg_ssi_clk_stop(&ssi->mod); rsnd_adg_ssi_clk_stop(&ssi->mod);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment