soc: swr-mstr: Update class-H port params

Update sampling interval for class-H as per HW spec
and hstart/hstop bit fields in swr master register
since master fields are not same as slave fields
for this setting as defined in HW register document.

Change-Id: Iefb5bb83bb8984ee964f405f53ab6f8f0ba47f75
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
Laxminath Kasam
2018-11-05 17:40:09 +05:30
parent 408ba7c759
commit e30eef71d4
2 changed files with 3 additions and 3 deletions

View File

@@ -924,7 +924,7 @@ static void swrm_copy_data_port_config(struct swr_master *master, u8 bank)
if (mport->hstart != SWR_INVALID_PARAM
&& mport->hstop != SWR_INVALID_PARAM) {
reg[len] = SWRM_DP_PORT_HCTRL_BANK(i + 1, bank);
hparams = (mport->hstart << 4) | mport->hstop;
hparams = (mport->hstop << 4) | mport->hstart;
val[len++] = hparams;
}
if (mport->blk_pack_mode != SWR_INVALID_PARAM) {