aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2021-03-02 18:57:57 +0530
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-03-11 09:37:30 +0100
commit55fbb9ba4f06cb6aff32daca1e1910173c13ec51 (patch)
treef8842d2418cc31dda7a5beaf20470d66b4606182 /tools/perf/scripts/python/export-to-postgresql.py
parentmtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions() (diff)
downloadwireguard-linux-55fbb9ba4f06cb6aff32daca1e1910173c13ec51.tar.xz
wireguard-linux-55fbb9ba4f06cb6aff32daca1e1910173c13ec51.zip
mtd: rawnand: qcom: Return actual error code instead of -ENODEV
In qcom_probe_nand_devices() function, the error code returned by qcom_nand_host_init_and_register() is converted to -ENODEV in the case of failure. This poses issue if -EPROBE_DEFER is returned when the dependency is not available for a component like parser. So let's restructure the error handling logic a bit and return the actual error code in case of qcom_nand_host_init_and_register() failure. Fixes: c76b78d8ec05 ("mtd: nand: Qualcomm NAND controller driver") Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions