Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61b2ca83 authored by Vignesh Kulothungan's avatar Vignesh Kulothungan Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarVignesh Kulothungan <vigneshk@codeaurora.org>
parent bb13c65f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}