From: Rui Wang Date: Sat, 16 May 2020 07:50:02 +0000 (+0800) Subject: adec: audio codec for GXLX (S905C) bring up [1/1] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=100e8e87246d1967d41743fd37bdb7bf8a2a8a0d;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_media.git adec: audio codec for GXLX (S905C) bring up [1/1] PD#SWPL-26186 Problem: audio codec for GXLX (S905C) bring up Solution: audio codec for GXLX (S905C) bring up Verify: p270 Change-Id: Ibda057213b93e7bb5326d63f227f74dcd48034ef Signed-off-by: Rui Wang --- diff --git a/drivers/stream_input/amports/adec.c b/drivers/stream_input/amports/adec.c index 0828388..b6da9ea 100644 --- a/drivers/stream_input/amports/adec.c +++ b/drivers/stream_input/amports/adec.c @@ -341,7 +341,8 @@ s32 astream_dev_register(void) goto err_2; } - if (AM_MESON_CPU_MAJOR_ID_TXL < get_cpu_major_id()) { + if (AM_MESON_CPU_MAJOR_ID_TXL < get_cpu_major_id() + && MESON_CPU_MAJOR_ID_GXLX != get_cpu_type()) { node = of_find_node_by_path("/codec_io/io_cbus_base"); if (!node) { pr_info("No io_cbus_base node found.");