| 87736ae1 | 02-Jan-2024 |
Dan Carpenter <[email protected]> |
cdx: call of_node_put() on error path
Add a missing call to of_node_put(np) on error.
There was a second error path where "np" was NULL, but that situation is impossible. The for_each_compatible_n
cdx: call of_node_put() on error path
Add a missing call to of_node_put(np) on error.
There was a second error path where "np" was NULL, but that situation is impossible. The for_each_compatible_node() loop iterator is always non-NULL. Just deleted that error path.
Fixes: 54b406e10f03 ("cdx: Remove cdx controller list from cdx bus system") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Abhijit Gangurde <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|
| cf60af04 | 22-Dec-2023 |
Abhijit Gangurde <[email protected]> |
cdx: Create resource debugfs file for cdx device
resource debugfs file contains host addresses of CDX device resources. Each line of the resource file describe type of resource, a region with start-
cdx: Create resource debugfs file for cdx device
resource debugfs file contains host addresses of CDX device resources. Each line of the resource file describe type of resource, a region with start-end and flag fields.
Signed-off-by: Abhijit Gangurde <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|
| fa10f413 | 17-Oct-2023 |
Abhijit Gangurde <[email protected]> |
cdx: add sysfs for subsystem, class and revision
CDX controller provides subsystem vendor, subsystem device, class and revision info of the device along with vendor and device ID in native endian fo
cdx: add sysfs for subsystem, class and revision
CDX controller provides subsystem vendor, subsystem device, class and revision info of the device along with vendor and device ID in native endian format. CDX Bus system uses this information to bind the cdx device to the cdx device driver.
Co-developed-by: Puneet Gupta <[email protected]> Signed-off-by: Puneet Gupta <[email protected]> Co-developed-by: Nipun Gupta <[email protected]> Signed-off-by: Nipun Gupta <[email protected]> Signed-off-by: Abhijit Gangurde <[email protected]> Reviewed-by: Pieter Jansen van Vuuren <[email protected]> Tested-by: Nikhil Agarwal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|
| ce558a39 | 17-Oct-2023 |
Abhijit Gangurde <[email protected]> |
cdx: Register cdx bus as a device on cdx subsystem
While scanning for CDX devices, register newly discovered bus as a cdx device. CDX device attributes are visible based on device type.
Signed-off-
cdx: Register cdx bus as a device on cdx subsystem
While scanning for CDX devices, register newly discovered bus as a cdx device. CDX device attributes are visible based on device type.
Signed-off-by: Abhijit Gangurde <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|
| f0af8168 | 17-Oct-2023 |
Abhijit Gangurde <[email protected]> |
cdx: Introduce lock to protect controller ops
Add a mutex lock to prevent race between controller ops initiated by the bus subsystem and the controller registration/unregistration.
Signed-off-by: A
cdx: Introduce lock to protect controller ops
Add a mutex lock to prevent race between controller ops initiated by the bus subsystem and the controller registration/unregistration.
Signed-off-by: Abhijit Gangurde <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|