mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
asoc: set default value for port_id of logging kcontrol
Uninitialized values may cause the get function of logging kcontrol to exit abnormally with error on auto LA platform. Change-Id: Id1f91a5454daafe499211763e26572bfe5dcbd47 Signed-off-by: Deru Wang <quic_deruwang@quicinc.com>
This commit is contained in:
parent
7743f757cb
commit
9a2dd3bd1d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2012-2022, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
|
|
@ -474,7 +474,7 @@ static const struct soc_enum tdm_config_enum[] = {
|
|||
SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(tdm_header_type), tdm_header_type),
|
||||
};
|
||||
|
||||
static u16 afe_port_logging_port_id;
|
||||
static u16 afe_port_logging_port_id = 0x9000;
|
||||
|
||||
static bool afe_port_logging_item[IDX_TDM_MAX];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue