STOCKHOLM (Reuters) - Ericsson is taking a $1.2 billion charge in a bid to write off its exposure to ST-Ericsson, adding to doubts over the future of the loss-making joint venture after partner STMicroelectronics said it was pulling out.