On Wed, Aug 28, 2024 at 09:20:05PM GMT, Brian Masney wrote: > The qcom-rng driver supports both ACPI and device tree based systems. > ACPI support was broken when the hw_random interface support was added. > Let's go ahead and fix this by checking has_acpi_companion(). > > This fix was boot tested on a Qualcomm Amberwing server. > > Fixes: f29cd5bb64c2 ("crypto: qcom-rng - Add hw_random interface support") > Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx> Please reorder the patches so that the Fix comes first (it can get backported to stable kernels). Renaming the field is a cleanup and as such it can come afterwards. > --- > drivers/crypto/qcom-rng.c | 36 ++++++++++++++++++++---------------- > 1 file changed, 20 insertions(+), 16 deletions(-) > -- With best wishes Dmitry