soundwire: stream: use FIELD_{GET|PREP}
authorVinod Koul <vkoul@kernel.org>
Thu, 3 Sep 2020 11:44:59 +0000 (17:14 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 4 Sep 2020 09:16:42 +0000 (14:46 +0530)
commit41ff91741c25d4987bf0405fa219b9eb339f24ee
tree876413da66d57e1b87d13fcb2dfde9c64de9d02a
parentbd6a024f21ceb37025dfd584f59cfeba850c8e02
soundwire: stream: use FIELD_{GET|PREP}

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