mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 21:12:43 +00:00
data->asserted will be NULL on JH7110 SoC since commit82327b127d("reset: starfive: Add StarFive JH7110 reset driver") was added. Add the judgment condition to avoid errors when calling reset_control_status on JH7110 SoC. Fixes:82327b127d("reset: starfive: Add StarFive JH7110 reset driver") Signed-off-by: Changhuang Liang <[email protected]> Acked-by: Hal Feng <[email protected]> Reviewed-by: Philipp Zabel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Philipp Zabel <[email protected]>