From c0dea82c3c141c33ca22ca85f80e592028840864 Mon Sep 17 00:00:00 2001 From: Russell King Date: Thu, 13 Jan 2011 00:34:08 +0000 Subject: ALSA: AACI: use snd_pcm_lib_period_bytes() Use the helper rather than open-coding this. Signed-off-by: Russell King --- sound/arm/aaci.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sound/arm/aaci.h') diff --git a/sound/arm/aaci.h b/sound/arm/aaci.h index 04c4568413f4..198750d6871d 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; }; -- cgit v1.2.3