aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorPrathamesh Shete <[email protected]>2023-06-07 17:01:04 +0530
committerLinus Walleij <[email protected]>2023-06-09 09:18:11 +0200
commit5cc9525bfc8e32029d1339349d65873c42193b00 (patch)
treea121d5e3334c90ba4b26904d3048e04c28561aad /lib/memory-notifier-error-inject.c
parent6d8257ca39884a90bbb61e3441f7d578abc53bac (diff)
gpio: tegra186: Check PMC driver status before any request
When the PMC device is disabled, probing of the Tegra186 GPIO driver fails because the IRQ domain that is registered by the PMC driver is not found. The PMC IRQ domain is only used for wake-up and does not impact GPIO functionality in general. Therefore, if the PMC device is disabled, skip looking up the PMC IRQ domain to allow the GPIO driver to be probed. Signed-off-by: Manish Bhardwaj <[email protected]> Signed-off-by: Prathamesh Shete <[email protected]> Reviewed-by: Jon Hunter <[email protected]> Acked-by: Thierry Reding <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions