ASoC: es8323: update codec es8323 driver
This patch update the es8323 codec drivers as follows:
o Remove snd_soc_control_type:
Now that upstream remove definition of snd_soc_control_type.
o Replace SOC_DAPM_VALUE_ENUM:
SOC_DAPM_VALUE_ENUM is replaced by SOC_DAPM_ENUM.
o Remove codec->dapm.bias_level = level:
The line at the end of the set_bias_level callback to update the bias_level state. Now that upstream move this update into snd_soc_dapm_force_bias_level().
o Remove .owner = THIS_MODULE:
No need to set .owner here.The i2c_driver core will do.
o module_i2c_driver:
Convert to use module_i2c_driver is simple.
o Add match table:
Add a device tree match table for es8323 codec driver.
o Add mclk:
The I2S block provide the output clock as the mclk,so add it.
o Adjust code format:
Adjust some problems of code format.
Change-Id: I8e0647310eb11325c39ebb408f75cc9ed28df71d
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>