Sometimes Windows or the device itself has to restart. While it's usually fast, but if you managed to catch a device in such state it gives error Code 54.

This device has failed and is undergoing a reset (Code 54)

This is an intermittent problem code assigned while an ACPI reset method is being executed. While it will automatically resolve itself in a while, if the device never restarts due to a failure, it will be stuck in this state and the system reboot is required.

So simply restart your Windows 10 PC, and check the status of the device again in the Device Manager. It should be gone for good.