From 57f174f47e73b4e6f325c9374c17f5fe1602e496 Mon Sep 17 00:00:00 2001 From: Bard Liao Date: Tue, 6 May 2014 15:56:06 +0800 Subject: [PATCH] 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 Reviewed-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-format-patch failed