Skip to content

Commit

Permalink
firmware: turris-mox-rwtm: show message about HWRNG registration
Browse files Browse the repository at this point in the history
[ Upstream commit fae2016 ]

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: 389711b ("firmware: Add Turris Mox rWTM firmware driver")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
pali authored and gregkh committed Jul 20, 2021
1 parent b2a5949 commit 9436e90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/firmware/turris-mox-rwtm.c
Expand Up @@ -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:
Expand Down

0 comments on commit 9436e90

Please sign in to comment.