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: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.orgSigned-off-by:
Vinod Koul <vkoul@kernel.org>
Showing
Please register or sign in to comment