Try installing a 3rd party camera app from Google Play store and see if camera works using a different app.