The torch is basically a part of the camera. Your case might be due to an active camera app or thrid party torch app which were taking exclusive ownership of the led flash. Try closing any of them.