Commit 8a214f64 authored by Qiang Yu's avatar Qiang Yu Committed by Manivannan Sadhasivam
Browse files

PCI: dwc: Fix grammar and formatting for comment in dw_pcie_remove_ext_capability()



Fix a grammatical error in the comment by changing "it's" to "its". Also
add a blank line after the variable declaration for better code
formatting.

Signed-off-by: default avatarQiang Yu <qiang.yu@oss.qualcomm.com>
Signed-off-by: default avatarManivannan Sadhasivam <mani@kernel.org>
Reviewed-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Link: https://patch.msgid.link/20260121-remove_cap_clean_up-v1-1-e78115e5d467@oss.qualcomm.com
parent e9a5415a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -268,9 +268,10 @@ void dw_pcie_remove_ext_capability(struct dw_pcie *pci, u8 cap)
		return;

	header = dw_pcie_readl_dbi(pci, cap_pos);

	/*
	 * If the first cap at offset PCI_CFG_SPACE_SIZE is removed,
	 * only set it's capid to zero as it cannot be skipped.
	 * only set its capid to zero as it cannot be skipped.
	 */
	if (cap_pos == PCI_CFG_SPACE_SIZE) {
		dw_pcie_dbi_ro_wr_en(pci);