$ alsactl restore
And that's that! :) I ran into this problem when I connected an aux cable to headphone jack, nothing works when connected on that jack anymore. Above command fixed the issue asap.