]> git.baikalelectronics.ru Git - kernel.git/commit
serial: lantiq: Use readl/writel instead of ltq_r32/ltq_w32
authorSongjun Wu <songjun.wu@linux.intel.com>
Tue, 16 Oct 2018 09:19:07 +0000 (17:19 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Nov 2018 16:43:27 +0000 (08:43 -0800)
commitb50e12f2538dcfe6e7ca17f1ef2480f61a81badc
treefdf9ef86b749baabc9067edb8c7c7485ed682887
parent8652b7ae86d5736360811fb015ea0b63e26f6c97
serial: lantiq: Use readl/writel instead of ltq_r32/ltq_w32

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>
drivers/tty/serial/lantiq.c