diff options
author | Tianfei zhang <tianfei.zhang@intel.com> | 2022-04-18 23:29:41 -0400 |
---|---|---|
committer | Xu Yilun <yilun.xu@intel.com> | 2022-05-10 16:05:15 +0800 |
commit | 88b3f3ff38d188e3c54603ea0244139cc55348fc (patch) | |
tree | ecb3733d5e0ed26ed8723193762fd414890e9dd1 /drivers/fpga/dfl.h | |
parent | 838a84382a9d78f306903e173bcaacd2e5178d9b (diff) | |
download | linux-stable-88b3f3ff38d188e3c54603ea0244139cc55348fc.tar.gz linux-stable-88b3f3ff38d188e3c54603ea0244139cc55348fc.tar.bz2 linux-stable-88b3f3ff38d188e3c54603ea0244139cc55348fc.zip |
fpga: dfl: check feature type before parse irq info
Previously the feature IDs defined are unique, no matter
which feature type. But currently we want to extend its
usage to have a per-type feature ID space, so this patch
adds feature type checking as well just before look into
feature ID for different features which have irq info.
Signed-off-by: Tianfei zhang <tianfei.zhang@intel.com>
Reviewed-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Acked-by: Wu Hao <hao.wu@intel.com>
Acked-by: Moritz Fischer <mdf@kernel.org>
Link: https://lore.kernel.org/r/20220419032942.427429-2-tianfei.zhang@intel.com
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Diffstat (limited to 'drivers/fpga/dfl.h')
0 files changed, 0 insertions, 0 deletions