summaryrefslogtreecommitdiffstats
path: root/sound/arm/aaci.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-13 00:34:08 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-01-26 20:24:11 +0000
commitc0dea82c3c141c33ca22ca85f80e592028840864 (patch)
tree66aee355bba147c335bb30e04694fe003b53ced5 /sound/arm/aaci.h
parentf006d8fc53c461aa66a9265597494f83ddf4f53d (diff)
downloadop-kernel-dev-c0dea82c3c141c33ca22ca85f80e592028840864.zip
op-kernel-dev-c0dea82c3c141c33ca22ca85f80e592028840864.tar.gz
ALSA: AACI: use snd_pcm_lib_period_bytes()
Use the helper rather than open-coding this. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'sound/arm/aaci.h')
-rw-r--r--sound/arm/aaci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/arm/aaci.h b/sound/arm/aaci.h
index 04c4568..198750d 100644
--- a/sound/arm/aaci.h
+++ b/sound/arm/aaci.h
@@ -210,6 +210,8 @@ struct aaci_runtime {
u32 cr;
struct snd_pcm_substream *substream;
+ unsigned int period; /* byte size of a "period" */
+
/*
* PIO support
*/
@@ -217,7 +219,6 @@ struct aaci_runtime {
void *end;
void *ptr;
int bytes;
- unsigned int period;
unsigned int fifosz;
};
OpenPOWER on IntegriCloud