diff options
| author | 2022-01-25 21:24:09 -0800 | |
|---|---|---|
| committer | 2022-02-08 23:15:10 -0800 | |
| commit | 7004cc9d1585fb7fc9ec7e3e92b70b65e13b11fd (patch) | |
| tree | b42cecc5e81e7c4bf4ca760ae0fea49b944c11d2 /include/soc/git:/ssh:/git@git.zx2c4.com | |
| parent | cxl/core/port: Fix / relax decoder target enumeration (diff) | |
| download | linux-dev-7004cc9d1585fb7fc9ec7e3e92b70b65e13b11fd.tar.xz linux-dev-7004cc9d1585fb7fc9ec7e3e92b70b65e13b11fd.zip | |
cxl/core/port: Handle invalid decoders
In case init_hdm_decoder() finds invalid settings, skip to the next
valid decoder. Only fail port enumeration if zero valid decoders are
found. This protects the driver init against broken hardware and / or
future interleave capabilities.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/164317464918.3438644.12371149695618136198.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/soc/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
