linux-stable/drivers/cxl
Dan Williams 76a4121e86 cxl/mem: Fix cxl_mem_probe() error exit
The addition of cxl_mem_active() broke error exit scenarios for
cxl_mem_probe(). Return early rather than proceed with disabling
suspend, and update the label name since it is no longer a terminal
"out" label that exits the function.

Fixes: 9ea4dcf498 ("PM: CXL: Disable suspend")
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/165291687176.1426646.15449254938752532784.stgit@dwillia2-xfh
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2022-05-19 08:50:41 -07:00
..
core cxl: Drop cxl_device_lock() 2022-04-28 14:01:55 -07:00
acpi.c cxl/acpi: Add root device lockdep validation 2022-04-28 14:01:54 -07:00
cxl.h cxl: Drop cxl_device_lock() 2022-04-28 14:01:55 -07:00
cxlmem.h PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00
cxlpci.h cxl/pci: Retrieve CXL DVSEC memory info 2022-02-08 22:57:31 -08:00
Kconfig PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00
Makefile PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00
mem.c cxl/mem: Fix cxl_mem_probe() error exit 2022-05-19 08:50:41 -07:00
pci.c cxl/pci: Drop wait_for_valid() from cxl_await_media_ready() 2022-05-19 08:50:40 -07:00
pmem.c cxl: Drop cxl_device_lock() 2022-04-28 14:01:55 -07:00
port.c cxl/core/port: Add endpoint decoders 2022-02-08 22:57:32 -08:00