diff options
| author | Fabien Parent <[email protected]> | 2019-03-23 21:15:52 +0000 |
|---|---|---|
| committer | Matthias Brugger <[email protected]> | 2019-04-12 17:42:41 +0000 |
| commit | a51f4c031de35bc30d56bede232ffd2ae9c5fd6d (patch) | |
| tree | d02ae03ee3c62fe5742d94067f9b381e901a45b4 /lib/memory-notifier-error-inject.c | |
| parent | dt-bindings: pwrap: mediatek: add pwrap support for MT8516 (diff) | |
| download | kernel-a51f4c031de35bc30d56bede232ffd2ae9c5fd6d.tar.gz kernel-a51f4c031de35bc30d56bede232ffd2ae9c5fd6d.zip | |
soc: mediatek: pwrap: add missing check on rstc
The variable rstc is set only when the SoC PWRAP have the
PWRAP_CAP_RESET capability. Check whether rstc is set before
using it to avoid errors.
Signed-off-by: Fabien Parent <[email protected]>
Signed-off-by: Matthias Brugger <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
