Commits
Robin Gong committed f815250fac9
MLK-22995: pci: controller: dwc: pci-imx6: fix regulator warning complains on i.mx6sx-sdb Commit 5eaa8f6f6dba("PCI: imx: enable the epdev_on regulator after possible -EPROBE_DEFER") still not enough on i.mx6sx-sdb: [ 1.168638] imx6q-pcie 8ffc000.pcie: 8ffc000.pcie supply epdev_on not found, using dummy regulator [ 1.173250] ------------[ cut here ]------------ [ 1.173387] WARNING: CPU: 0 PID: 7 at drivers/regulator/core.c:2042 _regulator_put.part.8+0x1a4/0x1c8 [ 1.173409] Modules linked in: [ 1.173439] CPU: 0 PID: 7 Comm: kworker/u2:0 Not tainted 5.4.0-rc7-03212-ga83f2b7 #55 [ 1.173457] Hardware name: Freescale i.MX6 SoloX (Device Tree) [ 1.173488] Workqueue: events_unbound async_run_entry_fn [ 1.173527] [<c0112b60>] (unwind_backtrace) from [<c010cccc>] (show_stack+0x10/0x14) [ 1.173555] [<c010cccc>] (show_stack) from [<c0d63420>] (dump_stack+0xe0/0x114) [ 1.173581] [<c0d63420>] (dump_stack) from [<c0137188>] (__warn+0xe4/0x10c) [ 1.173604] [<c0137188>] (__warn) from [<c0137254>] (warn_slowpath_fmt+0xa4/0xb4) [ 1.173630] [<c0137254>] (warn_slowpath_fmt) from [<c05fdb74>] (_regulator_put.part.8+0x1a4/0x1c8) [ 1.173658] [<c05fdb74>] (_regulator_put.part.8) from [<c05fdbc4>] (regulator_put+0x2c/0x3c) [ 1.173684] [<c05fdbc4>] (regulator_put) from [<c06f9fac>] (release_nodes+0x168/0x1f4) [ 1.173713] [<c06f9fac>] (release_nodes) from [<c06f598c>] (really_probe+0x118/0x350) [ 1.173739] [<c06f598c>] (really_probe) from [<c06f5d40>] (driver_probe_device+0x5c/0x164) [ 1.173763] [<c06f5d40>] (driver_probe_device) from [<c06f5e98>] (__driver_attach_async_helper+0x50/0x54) [ 1.173791] [<c06f5e98>] (__driver_attach_async_helper) from [<c0162030>] (async_run_entry_fn+0x3c/0x104) [ 1.173820] [<c0162030>] (async_run_entry_fn) from [<c0157b64>] (process_one_work+0x2c4/0x75c) [ 1.173844] [<c0157b64>] (process_one_work) from [<c0158030>] (worker_thread+0x34/0x574) [ 1.173868] [<c0158030>] (worker_thread) from [<c015f730>] (kthread+0x10c/0x148) [ 1.173891] [<c015f730>] (kthread) from [<c01010b4>] (ret_from_fork+0x14/0x20) [ 1.173909] Exception stack(0xd80d7fb0 to 0xd80d7ff8) [ 1.173929] 7fa0: 00000000 00000000 00000000 00000000 [ 1.173949] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.173969] 7fe0: 00000000 00000000 00000000 00000000 00000013 0000000 Signed-off-by: Robin Gong <yibin.gong@nxp.com> Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>