Merge remote-tracking branches 'asoc/fix/davinci', 'asoc/fix/es8328', 'asoc/fix/fsl-sai', 'asoc/fix/rockchip', 'asoc/fix/sgtl5000' and 'asoc/fix/wm8974' into asoc-linus
This commit is contained in:
@@ -223,8 +223,8 @@ static void mcasp_start_tx(struct davinci_mcasp *mcasp)
|
||||
|
||||
/* wait for XDATA to be cleared */
|
||||
cnt = 0;
|
||||
while (!(mcasp_get_reg(mcasp, DAVINCI_MCASP_TXSTAT_REG) &
|
||||
~XRDATA) && (cnt < 100000))
|
||||
while ((mcasp_get_reg(mcasp, DAVINCI_MCASP_TXSTAT_REG) & XRDATA) &&
|
||||
(cnt < 100000))
|
||||
cnt++;
|
||||
|
||||
/* Release TX state machine */
|
||||
|
Reference in New Issue
Block a user