]> git.baikalelectronics.ru Git - kernel.git/commit
SoC: SOF: ipc: Optimizations for tx message
authorMark Brown <broonie@kernel.org>
Fri, 28 Jan 2022 20:45:42 +0000 (20:45 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 28 Jan 2022 20:45:42 +0000 (20:45 +0000)
commit1278b3837702bbe67981a191b7a174759c87e2a5
tree203abc23d8908e0bc211bca7d1afcfccdd9d010d
parent3d72e50bfa24ac82ab074de532a206022cdc4e1d
parentefe93188663babe39e1e9972fc93fcecd27878d7
SoC: SOF: ipc: Optimizations for tx message

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

The series will drop the internal use of 'header' parameter which is always
set to hdr->cmd.

The other simplification is to use the provided message directly as it is
guarantied to be valid throughout the message sending and we can save memory
by not allocating a temporary buffer, also saving on needles memcpy()
operations.