diff options
| author | Manivannan Sadhasivam <[email protected]> | 2023-07-17 06:54:54 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2023-08-26 16:54:45 +0000 |
| commit | d9d9f26f1666b8e4052b7b40b2f17c456da0fba3 (patch) | |
| tree | a7c68797b70d5629389700f6624500d6819a4414 /drivers/pci/controller/dwc/pcie-qcom-ep.c | |
| parent | PCI: qcom-ep: Pass alignment restriction to the EPF core (diff) | |
| download | kernel-d9d9f26f1666b8e4052b7b40b2f17c456da0fba3.tar.gz kernel-d9d9f26f1666b8e4052b7b40b2f17c456da0fba3.zip | |
PCI: epf-mhi: Make use of the alignment restriction from EPF core
Instead of hardcoding the alignment restriction in the EPF_MHI driver, make
use of the info available from the EPF core that reflects the alignment
restriction of the endpoint controller.
For this purpose, let's introduce the get_align_offset() static function.
[kwilczynski: update get_align_offset() to avoid issues on 32-bit architectures]
Link: https://lore.kernel.org/linux-pci/[email protected]
Link: https://lore.kernel.org/linux-pci/[email protected]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-ep.c')
0 files changed, 0 insertions, 0 deletions
