diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-04 20:28:04 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-05 18:06:57 +0100 |
commit | e4065f3ff122e35cfc760d9a712564f3d9ef3a49 (patch) | |
tree | f429b3f5fce71a2d84896a5b87ac99aac3ee1c51 /sound/soc/kirkwood/kirkwood.h | |
parent | 64ddf1f89cd7a483e1204320395023774234b49a (diff) | |
download | blackbird-obmc-linux-e4065f3ff122e35cfc760d9a712564f3d9ef3a49.tar.gz blackbird-obmc-linux-e4065f3ff122e35cfc760d9a712564f3d9ef3a49.zip |
ASoC: kirkwood: move calculation of max buffer size to kirkwood.h
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/kirkwood/kirkwood.h')
-rw-r--r-- | sound/soc/kirkwood/kirkwood.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/kirkwood/kirkwood.h b/sound/soc/kirkwood/kirkwood.h index 1d13dee93d90..f8e1ccc1c58c 100644 --- a/sound/soc/kirkwood/kirkwood.h +++ b/sound/soc/kirkwood/kirkwood.h @@ -125,6 +125,8 @@ #define KIRKWOOD_SND_MAX_PERIODS 16 #define KIRKWOOD_SND_MIN_PERIOD_BYTES 0x4000 #define KIRKWOOD_SND_MAX_PERIOD_BYTES 0x4000 +#define KIRKWOOD_SND_MAX_BUFFER_BYTES (KIRKWOOD_SND_MAX_PERIOD_BYTES \ + * KIRKWOOD_SND_MAX_PERIODS) struct kirkwood_dma_data { void __iomem *io; |