mbox series

[0/2] firmware: arm_sdei: fix SDEI DT probing

Message ID 20181221192519.94915-1-james.morse@arm.com (mailing list archive)
Headers show
Series firmware: arm_sdei: fix SDEI DT probing | expand

Message

James Morse Dec. 21, 2018, 7:25 p.m. UTC
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:
Fixes: ad6eb31ef903 ("firmware: arm_sdei: Add driver for Software Delegated Exceptions")


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(-)