mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
adec: the short address of the aiu fifo regs has be changed on g12a
PD#161244: the aiu fifo short address is 0x1400 Change-Id: I48b58db933b72e384e20995d10622feb8ff5c950 Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
This commit is contained in:
@@ -342,6 +342,10 @@ s32 astream_dev_register(void)
|
||||
/*need to offset -0x100 in txlx.*/
|
||||
astream_dev->offset = -0x100;
|
||||
|
||||
/*need to offset -0x180 in g12a.*/
|
||||
if (MESON_CPU_MAJOR_ID_G12A <= get_cpu_type())
|
||||
astream_dev->offset = -0x180;
|
||||
|
||||
astream_uio_info.mem[0].addr =
|
||||
(cbus_base + CBUS_REG_OFFSET(AIU_AIFIFO_CTRL +
|
||||
astream_dev->offset)) & (PAGE_MASK);
|
||||
|
||||
Reference in New Issue
Block a user