ASoC: sgtl5000: Do a sanity check on SYS_MCLK
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 2 Oct 2014 20:36:05 +0000 (17:36 -0300)
committerMark Brown <broonie@kernel.org>
Fri, 3 Oct 2014 10:20:38 +0000 (11:20 +0100)
According to the sgtl5000 datasheet the valid range for SYS_MCLK is from 8 to
27 MHz.

Add a sanity check prior to enabling SYS_MCLK.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sgtl5000.c

Simple merge