This is normally the mode door actuator. When they fail they default to the defrost position. This is so that no matter what the windshield will not fog or ice over. It becomes a safety issue. I included the process on how to replace this.
Here is a guide that talk in more detail about this issue:
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.