From: Philipp Zabel Date: Wed, 19 Jul 2017 15:26:00 +0000 (+0200) Subject: PCI: mediatek: Explicitly request exclusive reset control X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=608fcac7ce31b9644bf0e71810f5a033693c17b0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git PCI: mediatek: Explicitly request exclusive reset control Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting reset lines") started to transition the reset control request API calls to explicitly state whether the driver needs exclusive or shared reset control behavior. Convert all drivers requesting exclusive resets to the explicit API call so the temporary transition helpers can be removed. No functional changes. Signed-off-by: Philipp Zabel Signed-off-by: Bjorn Helgaas Cc: Ryder Lee Cc: Matthias Brugger --- diff --git a/drivers/pci/host/pcie-mediatek.c b/drivers/pci/host/pcie-mediatek.c index 5a9d8589ea0b..9c9f89bcf24c 100644 --- a/drivers/pci/host/pcie-mediatek.c +++ b/drivers/pci/host/pcie-mediatek.c @@ -303,7 +303,7 @@ static int mtk_pcie_parse_ports(struct mtk_pcie *pcie, } snprintf(name, sizeof(name), "pcie-rst%d", index); - port->reset = devm_reset_control_get_optional(dev, name); + port->reset = devm_reset_control_get_optional_exclusive(dev, name); if (PTR_ERR(port->reset) == -EPROBE_DEFER) return PTR_ERR(port->reset);