aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_dynamic_debug.c
diff options
context:
space:
mode:
authorChanghuang Liang <changhuang.liang@starfivetech.com>2024-09-25 04:24:42 -0700
committerPhilipp Zabel <p.zabel@pengutronix.de>2024-09-30 14:24:37 +0200
commit2cf59663660799ce16f4dfbed97cdceac7a7fa11 (patch)
tree2c8acc6402aba098615dae0fcfb99a67edc9acf3 /lib/test_dynamic_debug.c
parentreset: npcm: convert comma to semicolon (diff)
downloadlinux-rng-2cf59663660799ce16f4dfbed97cdceac7a7fa11.tar.xz
linux-rng-2cf59663660799ce16f4dfbed97cdceac7a7fa11.zip
reset: starfive: jh71x0: Fix accessing the empty member on JH7110 SoC
data->asserted will be NULL on JH7110 SoC since commit 82327b127d41 ("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: 82327b127d41 ("reset: starfive: Add StarFive JH7110 reset driver") Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com> Acked-by: Hal Feng <hal.feng@starfivetech.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Link: https://lore.kernel.org/r/20240925112442.1732416-1-changhuang.liang@starfivetech.com Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions