Skip to contentSkip to conversation

linux-next: manual merge of the sound-asoc tree with the sound-current tree

DISCUSSION Stephen Rothwell 3 participants 4 messages Aug 25, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the sound-asoc tree got a conflict in:

sound/soc/codecs/rt5677.c

between commit:

9ce76511b67b ("ASoC: rt5677: Reintroduce I2C device IDs")

from the sound-current tree and commit:

ddc9e69b9dc2 ("ASoC: rt5677: Hide platform data in the module sources")

from the sound-asoc tree.

I considered just using the latter version, but in the end did not.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 17 lines
Cheers,
Stephen Rothwell

diff --cc sound/soc/codecs/rt5677.c
index 6f629278d982,c735590c5a25..000000000000
--- a/sound/soc/codecs/rt5677.c
+++ b/sound/soc/codecs/rt5677.c
@@@ -5019,9 -5010,6 +5010,7 @@@ static const struct regmap_config rt567
  };
  
  static const struct i2c_device_id rt5677_i2c_id[] = {
- 	{ "rt5677", RT5677 },
- 	{ "rt5676", RT5676 },
 +	{ "RT5677CE:00", RT5677 },
  	{ }
  };
  MODULE_DEVICE_TABLE(i2c, rt5677_i2c_id);
#1 lore raw
Quoted 9 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the sound-asoc tree got a conflict in:

  sound/soc/codecs/rt5677.c

between commit:

  9ce76511b67b ("ASoC: rt5677: Reintroduce I2C device IDs")

This one AFAIU is a quick fix solely for v4.13.

Thus, the correct fix is to remove all 3 IDs from that table to get:

 static const struct i2c_device_id rt5677_i2c_id[] = {

        { }
};
MODULE_DEVICE_TABLE(i2c, rt5677_i2c_id);

at the end.

Signature · 2 lines
Andy Shevchenko <[email protected]>
Intel Finland Oy
#2 lore raw
Quoted 16 lines · Andy Shevchenko
Quoted 9 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the sound-asoc tree got a conflict in:

  sound/soc/codecs/rt5677.c

between commit:

  9ce76511b67b ("ASoC: rt5677: Reintroduce I2C device IDs")

This one AFAIU is a quick fix solely for v4.13.

Thus, the correct fix is to remove all 3 IDs from that table to get:

Quoted 7 lines

 static const struct i2c_device_id rt5677_i2c_id[] = {

        { }
};
MODULE_DEVICE_TABLE(i2c, rt5677_i2c_id);

at the end.

Right. Mark, could you fix in your tree?

thanks,

Takashi

#3 lore raw
In reply to Andy Shevchenko

Hi Andy,

Quoted 5 lines · On Fri, 25 Aug 2017 12:37:29 +0300 Andy Shevchenko…

This one AFAIU is a quick fix solely for v4.13.

Thus, the correct fix is to remove all 3 IDs from that table to get:

Quoted 7 lines

 static const struct i2c_device_id rt5677_i2c_id[] = {

        { }
};
MODULE_DEVICE_TABLE(i2c, rt5677_i2c_id);

at the end.

Thanks, I have fixed that up for Monday.

Signature · 2 lines
Cheers,
Stephen Rothwell