diff options
author | Vinod Koul | 2020-09-03 17:14:56 +0530 |
---|---|---|
committer | Vinod Koul | 2020-09-04 14:46:41 +0530 |
commit | 25e804926da39f1de7ae486920bfe65b099195f1 (patch) | |
tree | 3e8eabdb942cce90d3b55a31ed9b84fc1bfbec40 /drivers/soundwire | |
parent | 5ee74eb280d0aa1f27fbdba5dcbde31e2df369e2 (diff) |
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/soundwire')
0 files changed, 0 insertions, 0 deletions