Skip to content

Commit

Permalink
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/soc/soc

Pull ARM SoC fixes from Arnd Bergmann:
 "One more set of simple ARM platform fixes:

   - A boot regression on qualcomm msm8998

   - Gemini display controllers got turned off by accident

   - incorrect reference counting in optee"

* tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
  tee: optee: add missing of_node_put after of_device_is_available
  arm64: dts: qcom: msm8998: Extend TZ reserved memory area
  ARM: dts: gemini: Re-enable display controller
  • Loading branch information
torvalds committed Mar 3, 2019
2 parents e7c42a8 + 6089e65 commit c027c7c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/gemini-dlink-dir-685.dts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@
};

display-controller@6a000000 {
status = "disabled";
status = "okay";

port@0 {
reg = <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/msm8998.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
};

memory@86200000 {
reg = <0x0 0x86200000 0x0 0x2600000>;
reg = <0x0 0x86200000 0x0 0x2d00000>;
no-map;
};

Expand Down
4 changes: 3 additions & 1 deletion drivers/tee/optee/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,10 @@ static int __init optee_driver_init(void)
return -ENODEV;

np = of_find_matching_node(fw_np, optee_match);
if (!np || !of_device_is_available(np))
if (!np || !of_device_is_available(np)) {
of_node_put(np);
return -ENODEV;
}

optee = optee_probe(np);
of_node_put(np);
Expand Down

0 comments on commit c027c7c

Please sign in to comment.