diff options
author | Jiada Wang <jiada_wang@mentor.com> | 2017-12-08 07:15:39 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-08 19:53:32 +0100 |
commit | 2e2d53da81af6b2222c6b4e025a5d01b37b4449b (patch) | |
tree | ddfb06ac68d3223cdb354ff1ae7d947f4ba56df5 /sound/oss | |
parent | Merge branch 'fix/rcar' of https://git.kernel.org/pub/scm/linux/kernel/git/br... (diff) | |
download | linux-2e2d53da81af6b2222c6b4e025a5d01b37b4449b.tar.xz linux-2e2d53da81af6b2222c6b4e025a5d01b37b4449b.zip |
ASoC: rsnd: ssi: remove unnesessary period_pos
period_pos can always be calculated by byte_pos and
byte_per_period, there is no reason to maintain this
variable in rsnd_dai_stream.
This patch removes period_pos from rsnd_ssi and calculates
next_period_byte with consideration of actual byte_pos value.
Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/oss')
0 files changed, 0 insertions, 0 deletions