mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
misc: rockchip: pcie-rkep: Repair accidental deletion of ioctl PCIE_EP_RESET_CTRL
Fixes: 8633bf3947 ("misc: rockchip: pcie-rkep: Support continuous buffer")
Change-Id: I29bcf73f5af3d1e1a45fbb16da0b09cda9ff3f46
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
@@ -857,6 +857,7 @@ static long pcie_rkep_ioctl(struct file *file, unsigned int cmd, unsigned long a
|
||||
if (copy_to_user(uarg, &val, sizeof(val)))
|
||||
return -EFAULT;
|
||||
break;
|
||||
case PCIE_EP_RESET_CTRL:
|
||||
#ifdef CONFIG_PCIEASPM_EXT
|
||||
dev_info(&pcie_rkep->pdev->dev, "reset controller\n");
|
||||
return rockchip_dw_pcie_pm_ctrl_for_user(pcie_rkep->pdev, ROCKCHIP_PCIE_PM_CTRL_RESET);
|
||||
|
||||
Reference in New Issue
Block a user