mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 08:18:47 +00:00
Davinci: serial - conditional reset via pwremu
With this patch, AR7 type uart ports are not reset via pwremu registers. This allows davinci_serial_init() reuse on tnetv107x soc. Signed-off-by: Cyril Chemparathy <cyril@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:
parent
9ee1acefa8
commit
e2800007f3
@ -107,7 +107,7 @@ int __init davinci_serial_init(struct davinci_uart_config *info)
|
||||
pr_err("uart regs ioremap failed\n");
|
||||
}
|
||||
|
||||
if (p->membase)
|
||||
if (p->membase && p->type != PORT_AR7)
|
||||
davinci_serial_reset(p);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user