Axel Lin 93ec3a1ad5 ASoC: 88pm860x: Don't change pm860x->dir setting if pm860x_set_dai_sysclk fails
88pm860x does not support slave mode, so it returns -EINVAL for
PM860X_CLK_DIR_IN. Current code changes pm860x->dir setting before
return error, so it has impact on the logic of pm860x_pcm_set_dai_fmt.

This patch adds comment for the reason to return -EINVAL for
PM860X_CLK_DIR_IN, and avoid changing pm860x->dir setting if
pm860x_set_dai_sysclk fails.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-07-07 13:48:59 +01:00
..
2014-12-14 16:10:09 -08:00
2015-06-22 11:32:41 +02:00
2015-03-09 18:10:17 +00:00
2015-06-25 17:15:18 -07:00
2015-02-09 15:09:48 +08:00
2015-06-25 17:15:18 -07:00
2015-06-08 20:47:53 +02:00
2015-05-22 13:38:40 +01:00