diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2016-06-28 10:38:24 (GMT) |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2016-06-30 09:52:51 (GMT) |
commit | 11131895cd1ba1cf58a87c6acb574cbeec5818af (patch) | |
tree | 2d5710a1f17f8103ac299165ccb63890a726f474 /tools/net/bpf_dbg.c | |
parent | 403db2d21c8f8576d38211e5ec17d149c49e528b (diff) | |
download | linux-11131895cd1ba1cf58a87c6acb574cbeec5818af.tar.xz |
soc/tegra: pmc: Fix early initialisation of PMC
During early initialisation, the available power partitions for a given
device is configured as well as the polarity of the PMC interrupt. Both
of which should only be configured if there is a valid device node for
the PMC device. This is because the soc data used for configuring the
power partitions is only available if a device node for the PMC is found
and the code to configure the interrupt polarity uses the device node
pointer directly.
Some early device-tree images may not have this device node and so fix
this by ensuring the device node pointer is valid when configuring these
items.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/net/bpf_dbg.c')
0 files changed, 0 insertions, 0 deletions