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

Commit 344ba8d7 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: swr-mstr: Add delay of 100us after last write during bulk write"

parents d14744d9 e44b8fb5
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -622,6 +622,7 @@ static int swr_master_bulk_write(struct swr_mstr_ctrl *swrm, u32 *reg_addr,
			usleep_range(50, 55);
			usleep_range(50, 55);
			swr_master_write(swrm, reg_addr[i], val[i]);
			swr_master_write(swrm, reg_addr[i], val[i]);
		}
		}
		usleep_range(100, 110);
		mutex_unlock(&swrm->iolock);
		mutex_unlock(&swrm->iolock);
	}
	}
	return 0;
	return 0;