]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
soundwire: bus: use FIELD_GET()
authorVinod Koul <vkoul@kernel.org>
Thu, 3 Sep 2020 11:44:57 +0000 (17:14 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 4 Sep 2020 09:16:41 +0000 (14:46 +0530)
commitd5826a4bdbc88004279df1f24db61e8e48071f78
treec5ce9aa779b32442c9b86b8000bde71e30ed2772
parent25e804926da39f1de7ae486920bfe65b099195f1
soundwire: bus: use FIELD_GET()

use FIELD_GET() in bus code to extract field values instead of open
coding masks and shift operations.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Tested-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200903114504.1202143-3-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/bus.c