reset:starfive:trng/crypto:shares a reset signal
authorwilliam.qiu <william.qiu@starfivetech.com>
Wed, 8 Jun 2022 01:55:21 +0000 (09:55 +0800)
committerwilliam.qiu <william.qiu@starfivetech.com>
Wed, 8 Jun 2022 01:55:21 +0000 (09:55 +0800)
commitb630e02bdb90dd910f7cc39fcd50dcc3772651cc
tree0a9b3672ecd36262edf513facddd184c39744814
parent56fd6911fe9382e5f542f4bb3159317efc8143fe
reset:starfive:trng/crypto:shares a reset signal

Use devm_reset_control_get_shared to share a reset signal otherwise TRNG
and crypto will not work at the same time.

Signed-off-by: samin.guo <samin.guo@starfivetech.com>
drivers/char/hw_random/starfive-trng.c
drivers/crypto/starfive/jh7110/jh7110-sec.c