소스 검색

Merge "asoc: codecs: wsa884x: Remove pre ssr handling"

qctecmdr 1 년 전
부모
커밋
8c3ce03a03
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 6
      asoc/codecs/wsa884x/wsa884x.c

+ 2 - 6
asoc/codecs/wsa884x/wsa884x.c

@@ -1847,14 +1847,10 @@ static int wsa884x_event_notify(struct notifier_block *nb,
 		return -EINVAL;
 
 	switch (event) {
-	case BOLERO_SLV_EVT_PA_OFF_PRE_SSR:
-		if (test_bit(SPKR_STATUS, &wsa884x->status_mask))
-			snd_soc_component_update_bits(wsa884x->component,
-				REG_FIELD_VALUE(PA_FSM_EN, GLOBAL_PA_EN, 0x00));
+	case BOLERO_SLV_EVT_SSR_UP:
 		wsa884x_swr_down(wsa884x);
-		break;
+		usleep_range(500, 510);
 
-	case BOLERO_SLV_EVT_SSR_UP:
 		wsa884x_swr_up(wsa884x);
 		/* Add delay to allow enumerate */
 		usleep_range(20000, 20010);