audio: fixed the WARNING caused by audio driver [1/1]
authorjian.zhou <jian.zhou@amlogic.com>
Tue, 6 Aug 2019 11:33:19 +0000 (07:33 -0400)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 8 Aug 2019 06:35:38 +0000 (23:35 -0700)
commit6de351b458ffc927b30d8d922e903c2275c7d416
treea3ce7b9cdf76d86ab255aecfadbe82192103c9b2
parent596cc1ea4a9b2faa0b1999ab361af6fb922d4d0a
audio: fixed the WARNING caused by audio driver [1/1]

PD#SWPL-12161

Problem:
Power on the DUT, look at the  printing log,
it will prompt WARNING:gpio/gpiolib.c:106

Solution:
when get gpio below 0,
no need to call devm_gpio_request_one function
as 2 ad82584f use the same gpio

Verify:
T962E2 AB311

Change-Id: Iad8ded3a8a0e94229281aa50462b7c09c627a70f
Signed-off-by: jian.zhou <jian.zhou@amlogic.com>
sound/soc/codecs/amlogic/ad82584f.c