summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire/generic_bandwidth_allocation.c
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2020-09-17 14:01:46 +0200
committerVinod Koul <vkoul@kernel.org>2020-09-18 14:19:44 +0200
commitf067c9251797ab0ff13cb4c6d5f5a0e6dc2c65d3 (patch)
tree5705de849827126cddc1b35908157e72ca2d2d11 /drivers/soundwire/generic_bandwidth_allocation.c
parentsoundwire: cadence: use u32p_replace_bits (diff)
downloadlinux-f067c9251797ab0ff13cb4c6d5f5a0e6dc2c65d3.tar.xz
linux-f067c9251797ab0ff13cb4c6d5f5a0e6dc2c65d3.zip
soundwire: intel: use {u32|u16}p_replace_bits
FIELD_PREP() does not replace the bits so it is not apt in case where we modify a register. Use u32_replace_bits() or u16_replace_bits() instead. Fixes: 3b4979cabd4b ("soundwire: intel: use FIELD_{GET|PREP}") Tested-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20200917120146.1780323-3-vkoul@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/generic_bandwidth_allocation.c')
0 files changed, 0 insertions, 0 deletions