ASoC: es8328: Simplify rates definition
authorRomain Perier <romain.perier@collabora.com>
Wed, 1 Mar 2017 09:11:04 +0000 (10:11 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 6 Mar 2017 10:40:15 +0000 (11:40 +0100)
commitc7ad841eaef66114d404c8fc02a67f5ef507b1bb
tree7d0ca86b55d44b5f99fa6b9594f073b1bb497ff2
parentae884ae78a238c36e4abfdb53d4659d5fca67433
ASoC: es8328: Simplify rates definition

Currently most of the standard rates are supported by this driver.
Instead of defining each supported rate one by one, we use the SND macro
SNDRV_PCM_RATE_8000_48000. Also adds support for 88.2khz as the codec
supports it and the sys clocks are already supported.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8328.c