Loading sound/soc/soc-cache.c +12 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ static int snd_soc_4_12_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); ret = codec->hw_write(codec->control_data, data, 2); if (ret == 2) return 0; Loading Loading @@ -112,6 +114,8 @@ static int snd_soc_7_9_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); ret = codec->hw_write(codec->control_data, data, 2); if (ret == 2) return 0; Loading Loading @@ -171,6 +175,8 @@ static int snd_soc_8_8_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); if (codec->hw_write(codec->control_data, data, 2) == 2) return 0; else Loading Loading @@ -205,6 +211,8 @@ static int snd_soc_8_16_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); if (codec->hw_write(codec->control_data, data, 3) == 3) return 0; else Loading Loading @@ -362,6 +370,8 @@ static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); ret = codec->hw_write(codec->control_data, data, 3); if (ret == 3) return 0; Loading Loading @@ -472,6 +482,8 @@ static int snd_soc_16_16_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); ret = codec->hw_write(codec->control_data, data, 4); if (ret == 4) return 0; Loading Loading
sound/soc/soc-cache.c +12 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ static int snd_soc_4_12_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); ret = codec->hw_write(codec->control_data, data, 2); if (ret == 2) return 0; Loading Loading @@ -112,6 +114,8 @@ static int snd_soc_7_9_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); ret = codec->hw_write(codec->control_data, data, 2); if (ret == 2) return 0; Loading Loading @@ -171,6 +175,8 @@ static int snd_soc_8_8_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); if (codec->hw_write(codec->control_data, data, 2) == 2) return 0; else Loading Loading @@ -205,6 +211,8 @@ static int snd_soc_8_16_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); if (codec->hw_write(codec->control_data, data, 3) == 3) return 0; else Loading Loading @@ -362,6 +370,8 @@ static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); ret = codec->hw_write(codec->control_data, data, 3); if (ret == 3) return 0; Loading Loading @@ -472,6 +482,8 @@ static int snd_soc_16_16_write(struct snd_soc_codec *codec, unsigned int reg, return 0; } dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); ret = codec->hw_write(codec->control_data, data, 4); if (ret == 4) return 0; Loading