I think there is the problem with the motor. And you said the way to reset it is:
1. Manual fold the passenger side mirror toward the car windows
2. Unlock the car
I just did that, and when it fold outward (toward the front of the car direction) it was passing by the 90 degree, and out straight toward the front like in 180 degree.