soundwire: intel_init: use FIELD_{GET|PREP}
authorVinod Koul <vkoul@kernel.org>
Thu, 3 Sep 2020 11:45:03 +0000 (17:15 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 4 Sep 2020 09:16:42 +0000 (14:46 +0530)
commitc30f92984117658d614e405ea476c3e8ebbd10aa
tree448a5ef7ab9a7dc11bc4c6a989e68b0d5b77a5b1
parent3b4979cabd4b49b84f794d8dd1625bbdb1213b05
soundwire: intel_init: use FIELD_{GET|PREP}

use FIELD_{GET|PREP} in intel_init driver to get/set 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-9-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel_init.c