OrangePi_CM5/drivers/misc/habanalabs/common
Jiasheng Jiang 7b59afe84a habanalabs: Add check for pci_enable_device
[ Upstream commit 9c27896ac1bb83ea5c461ce6f7089d02102a2b21 ]

As the potential failure of the pci_enable_device(),
it should be better to check the return value and return
error if fails.

Fixes: 70b2f993ea ("habanalabs: create common folder")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:25 +02:00
..
Makefile habanalabs: refactor MMU as device-oriented 2020-09-22 18:49:53 +03:00
asid.c
…
command_buffer.c habanalabs: fix kernel pointer type 2020-11-04 08:56:06 +02:00
command_submission.c habanalabs: allow to wait on CS without sleep 2020-09-22 18:49:53 +03:00
context.c habanalabs: add notice of device not idle 2020-09-25 14:44:21 +03:00
debugfs.c habanalabs: Add check for pci_enable_device 2022-04-08 14:40:25 +02:00
device.c habanalabs: Call put_pid() when releasing control device 2021-03-30 14:31:50 +02:00
firmware_if.c habanalabs: zero pci counters packet before submit to FW 2021-02-07 15:37:17 +01:00
habanalabs.h habanalabs: fix kernel pointer type 2020-11-04 08:56:06 +02:00
habanalabs_drv.c habanalabs: Fix an error handling path in 'hl_pci_probe()' 2021-07-14 16:56:47 +02:00
habanalabs_ioctl.c habanalabs: fix backward compatibility of idle check 2021-02-07 15:37:17 +01:00
hw_queue.c habanalabs: fix kernel pointer type 2020-11-04 08:56:06 +02:00
hwmon.c habanalabs: replace armcp with the generic cpucp 2020-09-22 18:49:51 +03:00
irq.c habanalabs: fix kernel pointer type 2020-11-04 08:56:06 +02:00
memory.c habanalabs: free host huge va_range if not used 2020-11-30 10:30:16 +02:00
mmu.c habanalabs: refactor MMU as device-oriented 2020-09-22 18:49:53 +03:00
mmu_v1.c habanalabs: refactor MMU as device-oriented 2020-09-22 18:49:53 +03:00
pci.c habanalabs: adjust pci controller init to new firmware 2021-01-19 18:27:24 +01:00
sysfs.c habanalabs: replace armcp with the generic cpucp 2020-09-22 18:49:51 +03:00