diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-11-09 23:16:37 +0300 |
|---|---|---|
| committer | Xu Yilun <yilun.xu@linux.intel.com> | 2025-11-10 10:03:13 +0300 |
| commit | c9243d6df0d617535e842aa4c3d1d7dfdb91d07b (patch) | |
| tree | 62b6cb161d36366c71cbcffa338f8469a5817969 /scripts/patch-kernel | |
| parent | 2cf07ffeba5eb893c9f3637cbdbc5dcf95d7eaac (diff) | |
| download | linux-c9243d6df0d617535e842aa4c3d1d7dfdb91d07b.tar.xz | |
fpga: altera-cvp: Use pci_find_vsec_capability() when probing FPGA device
Currently altera_cvp_probe() open-codes pci_find_vsec_capability().
Refactor the former to use the latter.
With that done:
- use the VSEC ID as per datasheet [1]
- update the error message accordingly
Link: https://www.intel.com/content/www/us/en/docs/programmable/683763/23-1/vendor-specific-header-register.html [1]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20251109201729.3220460-1-andriy.shevchenko@linux.intel.com
Reviewed-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
