Skip to content

Commit

Permalink
ASoC: kirkwood: allow smaller audio periods and smaller number of per…
Browse files Browse the repository at this point in the history
…iods

There is no hardware restriction requiring a minimum of 8 periods, or
a minimum of 2048 bytes in a period.  Let's drop these values so that
userspace has more flexibility in choosing these parameters.

Signed-off-by: Russell King <[email protected]>
Tested-by: Andrew Lunn <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
Russell King authored and broonie committed Jun 28, 2014
1 parent 4d2097e commit a622251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/kirkwood/kirkwood.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@

/* Theses values come from the marvell alsa driver */
/* need to find where they come from */
#define KIRKWOOD_SND_MIN_PERIODS 8
#define KIRKWOOD_SND_MIN_PERIODS 2
#define KIRKWOOD_SND_MAX_PERIODS 16
#define KIRKWOOD_SND_MIN_PERIOD_BYTES 0x800
#define KIRKWOOD_SND_MIN_PERIOD_BYTES 256
#define KIRKWOOD_SND_MAX_PERIOD_BYTES 0x8000
#define KIRKWOOD_SND_MAX_BUFFER_BYTES (KIRKWOOD_SND_MAX_PERIOD_BYTES \
* KIRKWOOD_SND_MAX_PERIODS)
Expand Down

0 comments on commit a622251

Please sign in to comment.