[PATCH 6/9] soundwire: cadence: use FIELD_{GET|PREP}

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Fri Aug 28 20:13:09 CEST 2020


> -	val = (r << CDNS_MCP_FRAME_SHAPE_ROW_OFFSET) | c;
> +	val = FIELD_PREP(CDNS_MCP_FRAME_SHAPE_ROW_OFFSET, r) | c;

Confusion between shift and mask here.

Testing a fix now (attached), but may I suggest you use the SOF 
GitHub/Travis CI directly for any updates? You'll get an answer in 30mn 
for the CML RVP w/ SoundWire.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fixup-soundwire-cadence-use-FIELD_-GET-PREP.patch
Type: text/x-patch
Size: 1487 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200828/7fd8794b/attachment.bin>


More information about the Alsa-devel mailing list