diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-06-07 00:20:47 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-07 20:30:38 +0100 |
commit | a97a06c7efc1ee34f500171f1c4e9608295bb79a (patch) | |
tree | 15e994db97d5abb80f8b1dfdef5661c0dc1a3b9a /sound/soc/sh/rcar/rsnd.h | |
parent | 9bc3b4ff18d130da09ad608718d4afcda01b3e56 (diff) | |
download | op-kernel-dev-a97a06c7efc1ee34f500171f1c4e9608295bb79a.zip op-kernel-dev-a97a06c7efc1ee34f500171f1c4e9608295bb79a.tar.gz |
ASoC: rsnd: cleanup pointer related code
Current rsnd driver is sharing pointer related code between
PIO / DMA. But, it is used only PIO mode now, no longer needed.
This patch cleanup these.
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 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h index bd8def0..6de5f7e 100644 --- a/sound/soc/sh/rcar/rsnd.h +++ b/sound/soc/sh/rcar/rsnd.h @@ -432,10 +432,6 @@ struct rsnd_dai_stream { struct rsnd_mod *mod[RSND_MOD_MAX]; struct rsnd_dai *rdai; u32 parent_ssi_status; - int byte_pos; - int period_pos; - int byte_per_period; - int next_period_byte; }; #define rsnd_io_to_mod(io, i) ((i) < RSND_MOD_MAX ? (io)->mod[(i)] : NULL) #define rsnd_io_to_mod_ssi(io) rsnd_io_to_mod((io), RSND_MOD_SSI) @@ -480,9 +476,7 @@ struct rsnd_dai { struct rsnd_dai *rsnd_rdai_get(struct rsnd_priv *priv, int id); -bool rsnd_dai_pointer_update(struct rsnd_dai_stream *io, int cnt); void rsnd_dai_period_elapsed(struct rsnd_dai_stream *io); -int rsnd_dai_pointer_offset(struct rsnd_dai_stream *io, int additional); int rsnd_dai_connect(struct rsnd_mod *mod, struct rsnd_dai_stream *io, enum rsnd_mod_type type); |