Skip to content
Snippets Groups Projects
Commit 3431a150 authored by Stefan Agner's avatar Stefan Agner Committed by Greg Kroah-Hartman
Browse files

usb: xhci: tegra: fix runtime PM error handling


The address-of operator will always evaluate to true. However,
power should be explicitly disabled if no power domain is used.

Remove the address-of operator.

Fixes: 58c38116 ("usb: xhci: tegra: Add support for managing powergates")
Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Acked-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 36eb9350
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment