Skip to content
Commit f067c925 authored by Vinod Koul's avatar Vinod Koul
Browse files

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: 3b4979ca ("soundwire: intel: use FIELD_{GET|PREP}")
Tested-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20200917120146.1780323-3-vkoul@kernel.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 714db045
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment