serial: lantiq: Use readl/writel instead of ltq_r32/ltq_w32
[ Upstream commit 89b8bd2082bbbccbd95b849b34ff8b6ab3056bf7 ] Previous implementation uses platform-dependent functions ltq_w32()/ltq_r32() to access registers. Those functions are not available for other SoC which uses the same IP. Change to OS provided readl()/writel() and readb()/writeb(), so that different SoCs can use the same driver. Signed-off-by:Songjun Wu <songjun.wu@linux.intel.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 306320034e8f ("serial: lantiq: add missing interrupt ack") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment