I think it would be very limited as to what is wrong - a switch problem, a mirror motor problem, or wiring inside the door problem. Likely the mirror or the switch.
When you do the "in and out " function, can you hear the motor working? If you can, then you probably have a mechanical issue in the mirror housing.
- John