diff options
author | Vinod Koul <vkoul@kernel.org> | 2020-09-17 17:31:45 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-09-18 17:49:17 +0530 |
commit | 714db045cf30f7897dded6417cf70f9426c6b87b (patch) | |
tree | e6b1ab7e68079e0a73d37c86a56bbd178ec51624 /drivers/soundwire/intel.c | |
parent | 8cb3b4e74cd810b86e18bcf832c2a4a877737981 (diff) |
soundwire: cadence: use u32p_replace_bits
FIELD_PREP() does not replace the bits so it is not apt in case where we
modify a register.
Use u32p_replace_bits() instead.
Fixes: 3cf25d63b1b9 ("soundwire: cadence: use FIELD_{GET|PREP}")
Tested-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200917120146.1780323-2-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/intel.c')
0 files changed, 0 insertions, 0 deletions