mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
Merge "soc: swr-mstr: update component and interrupt enable sequence"
This commit is contained in:
commit
b387595408
1 changed files with 3 additions and 3 deletions
|
|
@ -2488,9 +2488,6 @@ static int swrm_master_init(struct swr_mstr_ctrl *swrm)
|
|||
reg[len] = SWRM_COMP_CFG;
|
||||
value[len++] = 0x02;
|
||||
|
||||
reg[len] = SWRM_COMP_CFG;
|
||||
value[len++] = 0x03;
|
||||
|
||||
reg[len] = SWRM_INTERRUPT_CLEAR;
|
||||
value[len++] = 0xFFFFFFFF;
|
||||
|
||||
|
|
@ -2502,6 +2499,9 @@ static int swrm_master_init(struct swr_mstr_ctrl *swrm)
|
|||
reg[len] = SWRM_CPU1_INTERRUPT_EN;
|
||||
value[len++] = swrm->intr_mask;
|
||||
|
||||
reg[len] = SWRM_COMP_CFG;
|
||||
value[len++] = 0x03;
|
||||
|
||||
swr_master_bulk_write(swrm, reg, value, len);
|
||||
|
||||
if (!swrm_check_link_status(swrm, 0x1)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue