]> git.baikalelectronics.ru Git - kernel.git/commit
soundwire: cadence: use FIELD_{GET|PREP}
authorVinod Koul <vkoul@kernel.org>
Thu, 3 Sep 2020 11:45:01 +0000 (17:15 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 4 Sep 2020 09:16:42 +0000 (14:46 +0530)
commit30e09c82c9dc8ef42b716ff495671a9589282b28
treedcd90b1c91943b71787a48a77a7908d55fe4033e
parentf0cdfafb611069a3d0bcd51eae363b9a01c6bec5
soundwire: cadence: use FIELD_{GET|PREP}

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