try removing the device and rebooting
if it still does not work then there may be a hardware problem
My AMD USB 3.10 eXtensible Host Controller kept failing with Code 24 on my ASUS TUF B450M Gaming Plus motherboard.
After months of diagnosing the problem, I sent the motherboard to ASUS for warranty replacement. They gave me a brand new motherboard (same model) and the problem was no longer present. It was a hardware failure in the first motherboard.