Re: [PATCH] ASoC: wm_adsp: Improve handling of raw byte streams

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 16 Dec 2020 11:25:12 +0000, Richard Fitzgerald wrote:
> As the register map is 16-bit or 32-bit big-endian, the 24-bit
> DSP words appear padded and with the bytes swapped. When reading a
> raw stream of bytes, the pad bytes must be removed and the data bytes
> swapped back to their original order.
> 
> The previous implementation of this assumed that the be32_to_cpu() in
> wm_adsp_read_data_block() would swap back to little-endian. But this is
> obviously only true on a little-endian CPU. It also made two walks
> through the data, once to endian-swap and again to strip the pad bytes.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: wm_adsp: Improve handling of raw byte streams
      commit: 7726e49837af634accaec317c8d246d1d90d8fc5

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux