/* Restore the audio codec state to default state and free all used resources.  */
static uint32_t Codec_DeInit(void)
/* Restore the audio codec state to default state and free all used resources.  */
static uint32_t Codec_DeInit(void)
{
  uint32_t counter = 0;
  Codec_Reset();
  counter += Codec_WriteRegister(0x02, 0x01);
  Codec_GPIO_DeInit();
  Codec_CtrlInterface_DeInit();
  Codec_AudioInterface_DeInit();
  return counter;
}