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)
commite0c8a67f53a2bd96759ec621dcc61bb5c3c4a4be
tree203abc23d8908e0bc211bca7d1afcfccdd9d010d
parenta3a2a21acfdbfdcac6a24d14481a2c77f78f6fb8
parent2acfab7101140e93928a61ca48d7e442aa538dd7
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.