diff options
author | Ilpo Järvinen | 2023-09-13 15:27:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-11-28 17:07:02 +0000 |
commit | b8dcbbd0c4bf2061ccfe9d8ebccf6d04966c9c72 (patch) | |
tree | b8635dbbe1b940fd0d4ba7d934c8cc55a16110f0 /drivers/power | |
parent | e2ccedd4d182def14811cb039677bba15e6bda5d (diff) |
media: cobalt: Use FIELD_GET() to extract Link Width
[ Upstream commit f301fedbeecfdce91cb898d6fa5e62f269801fee ]
Use FIELD_GET() to extract PCIe Negotiated and Maximum Link Width fields
instead of custom masking and shifting.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions