Browse Source

soc: soundwire: Update samping interval of class-H port

Use sampling interval of 32 for class-H port to ensure
consistent setting for both 48k and 44.1k family sample rates
as recommended by HW.

Change-Id: I5f683f628ea3a4cd3ac72f827a51be70c3ac6ec6
Signed-off-by: Laxminath Kasam <[email protected]>
Laxminath Kasam 6 years ago
parent
commit
579c6d9898
1 changed files with 2 additions and 2 deletions
  1. 2 2
      soc/swrm_port_config.h

+ 2 - 2
soc/swrm_port_config.h

@@ -27,7 +27,7 @@ struct port_params wsa_frame_superset[SWR_MSTR_PORT_LEN] = {
 
 struct port_params rx_frame_params[SWR_MSTR_PORT_LEN] = {
 	{3,  0,  0,  0xFF, 0xFF, 1,    0xFF, 0xFF, 1},
-	{63, 0,  0,  3,    6,    7,    0,    0xFF, 0},
+	{31, 0,  0,  3,    6,    7,    0,    0xFF, 0},
 	{31, 11, 11, 0xFF, 0xFF, 4,    1,    0xFF, 0},
 	{3,  1,  0,  0xFF, 0xFF, 0xFF, 0xFF, 1,    0},
 	{0,  0,  0,  0xFF, 0xFF, 0xFF, 0xFF, 0,    0},
@@ -35,7 +35,7 @@ struct port_params rx_frame_params[SWR_MSTR_PORT_LEN] = {
 
 struct port_params rx_frame_params_dsd[SWR_MSTR_PORT_LEN] = {
 	{3,  0,  0,  0xFF, 0xFF, 1,    0xFF, 0xFF, 1},
-	{63, 0,  0,  3,    6,    7,    0,    0xFF, 0},
+	{31, 0,  0,  3,    6,    7,    0,    0xFF, 0},
 	{31, 11, 11, 0xFF, 0xFF, 4,    1,    0xFF, 0},
 	{7,  9,  0,  0xFF, 0xFF, 0xFF, 0xFF, 1,    0},
 	{3,  1,  0,  0xFF, 0xFF, 0xFF, 0xFF, 3,    0},