mirror of https://gitee.com/openkylin/linux.git
OMAP4: panda: Correct cpu version check for 4430
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 <peter.ujfalusi@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Liam Girdwood <lrg@ti.com>
This commit is contained in:
parent
303076342b
commit
0324e02a07
|
@ -530,7 +530,7 @@ void omap4_panda_display_init(void)
|
||||||
|
|
||||||
static void omap4_panda_init_rev(void)
|
static void omap4_panda_init_rev(void)
|
||||||
{
|
{
|
||||||
if (cpu_is_omap4430()) {
|
if (cpu_is_omap443x()) {
|
||||||
/* PandaBoard 4430 */
|
/* PandaBoard 4430 */
|
||||||
/* ASoC audio configuration */
|
/* ASoC audio configuration */
|
||||||
panda_abe_audio_data.card_name = "PandaBoard";
|
panda_abe_audio_data.card_name = "PandaBoard";
|
||||||
|
|
Loading…
Reference in New Issue