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

use FIELD_{GET|PREP} in intel 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-8-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c