ASoC: Intel: avs: Use min_t instead of min with cast
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 13 Jan 2023 19:03:10 +0000 (20:03 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 13 Jan 2023 12:30:29 +0000 (12:30 +0000)
commit4a1b1b65e410df82add3c5bc5be7bfb0c62f7f73
treed744b4656e5d0438ce85f11ab22bbda467d3acf3
parent19cfd69cd32c9d022512c081be879bca89e82ce0
ASoC: Intel: avs: Use min_t instead of min with cast

Checkpatch script recommends using min_t instead of min with the cast.

Fixes: 69b23b3937a1 ("ASoC: Intel: avs: Event tracing")
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20230113190310.1451693-4-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/trace.c