Jelajahi Sumber

soc: swr: update SWRM_MCP_FRAME_CTRL_BANK_ADDR

Update SWRM_MCP_FRAME_CTRL_BANK_ADDR to SWRM_MCP_FRAME_CTRL_BANK.

Change-Id: I092effc8f620aa29cc4e2b48fe977991caae13e6
Signed-off-by: Vignesh Kulothungan <[email protected]>
Vignesh Kulothungan 5 tahun lalu
induk
melakukan
61b2ca830f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      soc/swr-mstr-ctrl.c

+ 1 - 1
soc/swr-mstr-ctrl.c

@@ -953,7 +953,7 @@ static void swrm_switch_frame_shape(struct swr_mstr_ctrl *swrm, int mclk_freq)
 	value = ((n_row << SWRM_MCP_FRAME_CTRL_BANK_ROW_CTRL_SHFT) |
 		  (n_col << SWRM_MCP_FRAME_CTRL_BANK_COL_CTRL_SHFT) |
 		  ((ssp_period - 1) << SWRM_MCP_FRAME_CTRL_BANK_SSP_PERIOD_SHFT));
-	swr_master_write(swrm, SWRM_MCP_FRAME_CTRL_BANK_ADDR(bank), value);
+	swr_master_write(swrm, SWRM_MCP_FRAME_CTRL_BANK(bank), value);
 	enable_bank_switch(swrm, bank, n_row, n_col);
 }