Explorar o código

ASoC: RT286: remove test code

Remove test code.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Bard Liao %!s(int64=11) %!d(string=hai) anos
pai
achega
305b8d8782
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      sound/soc/codecs/rt286.c

+ 0 - 1
sound/soc/codecs/rt286.c

@@ -993,7 +993,6 @@ static int rt286_probe(struct snd_soc_codec *codec)
 	codec->dapm.bias_level = SND_SOC_BIAS_OFF;
 	codec->dapm.bias_level = SND_SOC_BIAS_OFF;
 	rt286->codec = codec;
 	rt286->codec = codec;
 
 
-	rt286->i2c->irq = 0;
 	if (rt286->i2c->irq) {
 	if (rt286->i2c->irq) {
 		snd_soc_update_bits(codec,
 		snd_soc_update_bits(codec,
 					RT286_IRQ_CTRL, 0x2, 0x2);
 					RT286_IRQ_CTRL, 0x2, 0x2);