Skip to content
Snippets Groups Projects
Commit 0b246113 authored by Ganapathiraju Sarath Varma's avatar Ganapathiraju Sarath Varma Committed by Gerrit - the friendly Code Review server
Browse files

asoc: Update the sample interval for class-H port to 64


Update sample interval for class-H port to 64 so that the
class-H code is sent to WCD correctly over soundwire bus

Change-Id: Id05853a25e97d9a39452722c7959e08bc9651e0b
Signed-off-by: default avatarGanapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
parent 31a7be94
No related branches found
No related tags found
No related merge requests found
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef _WAIPIO_PORT_CONFIG
......@@ -39,7 +40,7 @@ static struct port_params wsa_frame_params_receiver[SWR_MSTR_PORT_LEN] = {
static struct port_params rx_frame_params_dsd[SWR_MSTR_PORT_LEN] = {
{3, 0, 0, 0xFF, 0xFF, 1, 0xFF, 0xFF, 1, 0x00, 0x00},
{31, 0, 0, 3, 6, 7, 0, 0xFF, 0, 0x00, 0x02},
{63, 0, 0, 3, 6, 7, 0, 0xFF, 0, 0x00, 0x02},
{31, 11, 11, 0xFF, 0xFF, 4, 1, 0xFF, 0, 0x00, 0x02},
{7, 9, 0, 0xFF, 0xFF, 0xFF, 0xFF, 1, 0, 0x00, 0x00},
{3, 1, 0, 0xFF, 0xFF, 0xFF, 0xFF, 3, 0, 0x00, 0x00},
......@@ -48,7 +49,7 @@ static struct port_params rx_frame_params_dsd[SWR_MSTR_PORT_LEN] = {
/* Headset + PCM Haptics */
static struct port_params rx_frame_params_default[SWR_MSTR_PORT_LEN] = {
{3, 0, 0, 0xFF, 0xFF, 1, 0xFF, 0xFF, 1, 0x00, 0x00}, /* HPH/EAR */
{31, 0, 0, 3, 6, 7, 0, 0xFF, 0, 0x00, 0x02}, /* HPH_CLH */
{63, 0, 0, 3, 6, 7, 0, 0xFF, 0, 0x00, 0x02}, /* HPH_CLH */
{31, 11, 11, 0xFF, 0xFF, 4, 1, 0xFF, 0, 0x00, 0x02}, /* HPH_CMP */
{7, 1, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0x00, 0x00}, /* LO/AUX */
{0, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0, 0x00, 0x00}, /* DSD */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment