audio: solve 32bit system hdmi in mute issue [1/1]
authorLianlian Zhu <lianlian.zhu@amlogic.com>
Mon, 22 Oct 2018 08:55:57 +0000 (16:55 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 23 Oct 2018 08:43:05 +0000 (01:43 -0700)
commite8614f100f06fd7b3b1f28c4eadad39400e60545
tree46b0483db7424b9d10e07cc9d636d096966941c8
parentdccd0869097d2788262c37867b064e1411c8034a
audio: solve 32bit system hdmi in mute issue [1/1]

PD#SWPL-813

Problem:
audio_iomap read audin reg 2800 error

Solution:
register val read from aml_read_cbus
maybe not positive number in 32bit system,
so change *val == -1 to judge mistake.

Verify:
verified by p321

Change-Id: Ie87001fa1daa621cadc2ce329d8dd863f39dcdb6
Signed-off-by: Lianlian Zhu <lianlian.zhu@amlogic.com>
sound/soc/amlogic/meson/audio_iomap.c