Fabien Parent a51f4c031d 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>
2019-04-12 19:42:41 +02:00
..
2019-03-06 09:41:12 -08:00
2018-01-04 17:01:53 +01:00
2019-02-15 16:30:34 -06:00
2019-03-06 09:41:12 -08:00