slim_ngd: Send data-length instead of segment for defining channel
Master component expects data-length instead of segment length and those two may differ for some protocols. Change-Id: Idf48f856f7c58d80304f9f13b642d1bccdb09e83 Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
This commit is contained in:
parent
1d3e459d52
commit
e95bc325be
|
@ -784,7 +784,7 @@ static int ngd_allocbw(struct slim_device *sb, int *subfrmc, int *clkgear)
|
|||
/* Per protocol, only last 5 bits for client no. */
|
||||
wbuf[txn.len++] = (u8) (slc->prop.dataf << 5) |
|
||||
(sb->laddr & 0x1f);
|
||||
wbuf[txn.len] = slc->seglen;
|
||||
wbuf[txn.len] = slc->prop.sampleszbits >> 2;
|
||||
if (slc->srch && slc->prop.prot == SLIM_PUSH)
|
||||
slc->prop.prot = SLIM_PULL;
|
||||
if (slc->coeff == SLIM_COEFF_3)
|
||||
|
|
Loading…
Reference in New Issue