| a13bd6f3 | 26-Feb-2024 |
Ricardo B. Marliere <[email protected]> |
greybus: move is_gb_* functions out of greybus.h
The functions below are only used within the context of drivers/greybus/core.c, so move them all into core and drop their 'inline' specifiers:
is_gb
greybus: move is_gb_* functions out of greybus.h
The functions below are only used within the context of drivers/greybus/core.c, so move them all into core and drop their 'inline' specifiers:
is_gb_host_device(), is_gb_module(), is_gb_interface(), is_gb_control(), is_gb_bundle() and is_gb_svc().
Suggested-by: Alex Elder <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: "Ricardo B. Marliere" <[email protected]> Reviewed-by: Alex Elder <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|
| e869b72b | 19-Feb-2024 |
Ricardo B. Marliere <[email protected]> |
greybus: constify the struct device_type usage
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver core can properly handle constant struct device_type. Move the greybus_hd_typ
greybus: constify the struct device_type usage
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver core can properly handle constant struct device_type. Move the greybus_hd_type, greybus_module_type, greybus_interface_type, greybus_control_type, greybus_bundle_type and greybus_svc_type variables to be constant structures as well, placing it into read-only memory which can not be modified at runtime.
Signed-off-by: "Ricardo B. Marliere" <[email protected]> Reviewed-by: Alex Elder <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|
| fcc9b50e | 05-Dec-2023 |
Greg Kroah-Hartman <[email protected]> |
Revert "greybus: gb-beagleplay: Ensure le for values in transport"
This reverts commit 52eb67861ebeb2110318bd9fe33d85ddcf92aac7.
Turns out to not be correct, a new version will be generated later.
Revert "greybus: gb-beagleplay: Ensure le for values in transport"
This reverts commit 52eb67861ebeb2110318bd9fe33d85ddcf92aac7.
Turns out to not be correct, a new version will be generated later.
Link: https://lore.kernel.org/r/[email protected] Cc: Ayush Singh <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|
| a74e7263 | 02-Feb-2022 |
Johan Hovold <[email protected]> |
greybus: svc: clean up link configuration hack at hello
Commit ee2f2074fdb2 ("greybus: svc: reconfig APBridgeA-Switch link to handle required load") added a temporary hack which reconfigures the lin
greybus: svc: clean up link configuration hack at hello
Commit ee2f2074fdb2 ("greybus: svc: reconfig APBridgeA-Switch link to handle required load") added a temporary hack which reconfigures the link at HELLO by abusing the deferred request processing mechanism.
Restructure the HELLO request processing so that the link-configuration work is queued before creating the debugfs files and add a comment explaining why it's there.
Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|
| 5f648e00 | 02-Feb-2022 |
Johan Hovold <[email protected]> |
greybus: svc: clean up hello error path
While currently safe, it is unnecessary (and confusing) to try to destroy the watchdog when watchdog creation fails.
Change the corresponding error path to o
greybus: svc: clean up hello error path
While currently safe, it is unnecessary (and confusing) to try to destroy the watchdog when watchdog creation fails.
Change the corresponding error path to only deregister the svc.
Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
|