commit | 57f174f47e73b4e6f325c9374c17f5fe1602e496 | [log] [tgz] |
---|---|---|
author | Bard Liao <bardliao@realtek.com> | Tue May 06 15:56:06 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Mon May 12 22:09:30 2014 +0100 |
tree | 820737ff87e85dc429ad2f6e55312b6e45b5f15c | |
parent | 4eefa0d850a834cf641892e10583f8081d3f8c60 [diff] |
ASoC: rt5640: add default case for unexpected ID We may read an unexpected value when detemining which codec is attached. In that case, either a unsupported codec is attached or something wrong with I2C. The driver will not work properly on both cases. So we return an error for that. Signed-off-by: Bard Liao <bardliao@realtek.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org>