lkml.org 
[lkml]   [2023]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] hwrng: nomadik - two simple cleanups
Date
Use devm_clk_get_enabled to fix a (theoretical) race condition during removal.
Call dev_error_probe to print an error message and exit.

Both changes were compile-tested only, I don't have this hardware.

Martin Kaiser (2):
hwrng: nomadik - keep clock enabled while hwrng is registered
hwrng: nomadik - use dev_err_probe

drivers/char/hw_random/nomadik-rng.c | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)

--
2.30.2

\
 
 \ /
  Last update: 2023-07-02 19:37    [W:0.085 / U:1.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site