Default [Q] Flash camera issue

Hi, sometimes when im ussing the camera flash, the phone suddenly turn off and the only solution to turning back on is removing the battery or pluging into the usb
Any solution or its a hardware issue ?
Thanks

Enviado desde mi SAMSUNG-SGH-I317 usando Tapatalk 2