浏览代码

asoc: codecs: Add HPH and EAR concurrency state in class-h driver

Update the class-h driver state machine to allow HPH and EAR concurrency.

Change-Id: I5e227bdc87929b61fef78956f3a4eba4a686873e
Signed-off-by: Laxminath Kasam <[email protected]>
Laxminath Kasam 5 年之前
父节点
当前提交
ade1444dd5
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      asoc/codecs/wcd-clsh.c

+ 3 - 0
asoc/codecs/wcd-clsh.c

@@ -482,6 +482,9 @@ static bool wcd_clsh_is_state_valid(u8 state)
 	case WCD_CLSH_STATE_HPHR_AUX:
 	case WCD_CLSH_STATE_HPH_ST_AUX:
 	case WCD_CLSH_STATE_EAR_AUX:
+	case WCD_CLSH_STATE_HPHL_EAR:
+	case WCD_CLSH_STATE_HPHR_EAR:
+	case WCD_CLSH_STATE_HPH_ST_EAR:
 		return true;
 	default:
 		return false;