diff options
author | Vinod Koul <vkoul@kernel.org> | 2020-09-03 13:44:56 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-09-04 11:16:41 +0200 |
commit | 25e804926da39f1de7ae486920bfe65b099195f1 (patch) | |
tree | 3e8eabdb942cce90d3b55a31ed9b84fc1bfbec40 /drivers | |
parent | soundwire: intel: don't manage link power individually (diff) | |
download | linux-25e804926da39f1de7ae486920bfe65b099195f1.tar.xz linux-25e804926da39f1de7ae486920bfe65b099195f1.zip |
soundwire: define and use addr bit masks
Soundwire addr is a 52bit value encoding link, version, unique id,
mfg id, part id and class id. Define bit masks for these and use
FIELD_GET() to extract these fields.
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-2-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions