From: Pali Rohár Date: Thu, 20 May 2021 11:35:20 +0000 (+0200) Subject: firmware: turris-mox-rwtm: show message about HWRNG registration X-Git-Tag: v5.10.79~2320 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9436e9001d403b6974d7533554c98cec6de29a84;p=platform%2Fkernel%2Flinux-rpi.git firmware: turris-mox-rwtm: show message about HWRNG registration [ Upstream commit fae20160992269431507708fb74c1fd9f3c309c1 ] Currently it is hard to determinate if on Armada 3720 device is HWRNG by running kernel accessible or not. So print information message into dmesg when HWRNG is available and registration was successful. Fixes: 389711b37493 ("firmware: Add Turris Mox rWTM firmware driver") Signed-off-by: Pali Rohár Reviewed-by: Andrew Lunn Signed-off-by: Gregory CLEMENT Signed-off-by: Sasha Levin --- diff --git a/drivers/firmware/turris-mox-rwtm.c b/drivers/firmware/turris-mox-rwtm.c index 2b56dd0..03f1eac 100644 --- a/drivers/firmware/turris-mox-rwtm.c +++ b/drivers/firmware/turris-mox-rwtm.c @@ -542,6 +542,8 @@ static int turris_mox_rwtm_probe(struct platform_device *pdev) goto free_channel; } + dev_info(dev, "HWRNG successfully registered\n"); + return 0; free_channel: