commit | a51f4c031de35bc30d56bede232ffd2ae9c5fd6d | [log] [tgz] |
---|---|---|
author | Fabien Parent <fparent@baylibre.com> | Sat Mar 23 22:15:52 2019 +0100 |
committer | Matthias Brugger <matthias.bgg@gmail.com> | Fri Apr 12 19:42:41 2019 +0200 |
tree | d02ae03ee3c62fe5742d94067f9b381e901a45b4 | |
parent | 4bad8b0709f59cc210207201b2cba86e4fc28bf5 [diff] |
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 <fparent@baylibre.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>