firmware: arm_sdei: fix SDEI DT probing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | firmware: arm_sdei: fix wrong of_node_put() in init functiondrivers/ | +0 | 0 replies | |
| 2/2 | firmware: arm_sdei: Fix DT platform device creationdrivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] firmware: arm_sdei: fix SDEI DT probing
Hi guys,
A patch from Nicolas to fix some cargo-culted reference-miscounting highlighted that, embarrassingly, the SDEI DT probing hasn't been tested properly since it was merged. commit 3aa0582fdb82 ("of: platform:
populate /firmware/ node from of_platform_default_populate_init()") came in at the same time and changed the core-code to generate the platform devices, meaning the driver's attempt fails, and it bails out.
Fix these by removing the unbalanced-refcount, and not attempting to re-create the platform device. As this is in the never-worked territory, I don't think the fixes tags are necessary. If someone disagrees, its:
Thanks,
James Morse (1):
firmware: arm_sdei: Fix DT platform device creation
Nicolas Saenz Julienne (1):
firmware: arm_sdei: fix wrong of_node_put() in init function
drivers/firmware/arm_sdei.c | 6 ------ 1 file changed, 6 deletions(-)
Signature · 7 lines
2.19.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel