audio: av/hdmi source gain do not take effect [1/1]
PD#TV-152849
Problem:
When the patch creats, the source gain will set to 1.
Solution:
Should not set source gain when creating the patch.
Verify:
yocto-t5w
Change-Id: I53aa8ba4357911504257d931e4c6bdf615f98665
Signed-off-by: yayun.shi <yayun.shi@amlogic.com>
diff --git a/input/device_patch_mgr.c b/input/device_patch_mgr.c
index 8706f0a..b927f8b 100644
--- a/input/device_patch_mgr.c
+++ b/input/device_patch_mgr.c
@@ -316,7 +316,6 @@
}
set_input_device_avail(patch_mgr->adev, src_device, true);
- set_inport_gain(patch_mgr->adev, inport, 1.0);
if (SRC_DTV == patch_source) {
#ifdef USE_DTV