The cpu_is_omap4430() macro always return with 0. Use the correct
cpu_is_omap443x() to check for Panda revision.

Signed-off-by: Peter Ujfalusi <[email protected]>
---

Hi,

Since the depending patches are going via Liam's tree it would be best if we
can queue this via audio as well.
Without this patch the audio on Panda 4430 is not working correctly.

Regards,
Peter

 arch/arm/mach-omap2/board-omap4panda.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap4panda.c 
b/arch/arm/mach-omap2/board-omap4panda.c
index eada955..74db647 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -520,7 +520,7 @@ void omap4_panda_display_init(void)
 
 static void omap4_panda_init_rev(void)
 {
-       if (cpu_is_omap4430()) {
+       if (cpu_is_omap443x()) {
                /* PandaBoard 4430 */
                /* ASoC audio configuration */
                panda_abe_audio_data.card_name = "PandaBoard";
-- 
1.7.8.4

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to