realtek: return correct error value for phy ops