Skip to content

Commit

Permalink
ARM: OMAP2+: am33xx: fix serial mux warnings for am33xx
Browse files Browse the repository at this point in the history
The patch removes below warning in serial mux setup on AM335x platform

[    0.162052] _omap_mux_get_by_name: Could not find signal
uart1_cts.uart1_cts
[    0.169437] omap_hwmod_mux_init: Could not allocate device mux entry
[    0.176384] _omap_mux_get_by_name: Could not find signal
uart2_cts.uart2_cts
[    0.183735] omap_hwmod_mux_init: Could not allocate device mux entry
[    0.190663] _omap_mux_get_by_name: Could not find signal
uart3_cts_rctx.uart3_cts_rctx
[    0.198926] omap_hwmod_mux_init: Could not allocate device mux entry

Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com>
  • Loading branch information
ghebbar authored and koenkooi committed Mar 1, 2012
1 parent 821ef0a commit 65f17ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/mach-omap2/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ void __init omap_serial_board_init(struct omap_uart_port_info *info)
bdata.pads = NULL;
bdata.pads_cnt = 0;

if (cpu_is_omap44xx() || cpu_is_omap34xx())
if (cpu_is_omap44xx() || (cpu_is_omap34xx() &&
!cpu_is_am33xx()))
omap_serial_fill_default_pads(&bdata);

if (!info)
Expand Down

0 comments on commit 65f17ac

Please sign in to comment.