diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-10-02 23:16:50 +0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-03 14:20:38 +0400 |
commit | fa558d0130debf847b6b8cd95880a2d7556770ac (patch) | |
tree | 5fb09e53ad2879c99dfd86018bea323d5d7ff8df /sound/soc/codecs/cs42l73.c | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) | |
download | linux-fa558d0130debf847b6b8cd95880a2d7556770ac.tar.xz |
ASoC: sgtl5000: Improve the error message on slave mode setting
For sgtl5000 to operate in slave mode it can only work in "Synchronous
SYS_MCLK input" mode.
In this mode only the following rates can be supported: 256*Fs, 384*Fs, 512*Fs.
Improve the error message to give a better indication as to why the clocking
failed for slave mode:
[ 12.515399] sgtl5000 1-000a: PLL not supported in slave mode
[ 12.524124] sgtl5000 1-000a: 233 ratio is not supported. SYS_MCLK needs to be 256, 384 or 512 * fs
[ 12.535938] sgtl5000 1-000a: ASoC: can't set sgtl5000 hw params: -22
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs42l73.c')
0 files changed, 0 insertions, 0 deletions