Skip to contentSkip to conversation

linux-next: manual merge of the staging tree with the staging.current tree

DISCUSSION Stephen Rothwell 3 participants 4 messages Dec 4, 2017 – Dec 6, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Greg,

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

drivers/iio/adc/meson_saradc.c

between commit:

d85eed9f5763 ("iio: adc: meson-saradc: initialize the bandgap correctly on older SoCs")

from the staging.current tree and commit:

930df4d853a8 ("iio: adc: meson-saradc: remove irrelevant clock "sana"")

from the staging tree.

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 · 32 lines
Cheers,
Stephen Rothwell

diff --cc drivers/iio/adc/meson_saradc.c
index 36047147ce7c,f0b6502a8904..000000000000
--- a/drivers/iio/adc/meson_saradc.c
+++ b/drivers/iio/adc/meson_saradc.c
@@@ -762,9 -732,8 +755,7 @@@ static int meson_sar_adc_hw_enable(stru
  err_adc_clk:
  	regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG3,
  			   MESON_SAR_ADC_REG3_ADC_EN, 0);
 -	regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG11,
 -			   MESON_SAR_ADC_REG11_BANDGAP_EN, 0);
 +	meson_sar_adc_set_bandgap(indio_dev, false);
- 	clk_disable_unprepare(priv->sana_clk);
- err_sana_clk:
  	clk_disable_unprepare(priv->core_clk);
  err_core_clk:
  	regulator_disable(priv->vref);
@@@ -787,10 -756,9 +778,9 @@@ static int meson_sar_adc_hw_disable(str
  
  	regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG3,
  			   MESON_SAR_ADC_REG3_ADC_EN, 0);
 -	regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG11,
 -			   MESON_SAR_ADC_REG11_BANDGAP_EN, 0);
 +
 +	meson_sar_adc_set_bandgap(indio_dev, false);
  
- 	clk_disable_unprepare(priv->sana_clk);
  	clk_disable_unprepare(priv->core_clk);
  
  	regulator_disable(priv->vref);
#1 lore raw
Quoted 14 lines · Stephen Rothwell

Hi Greg,

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

drivers/iio/adc/meson_saradc.c

between commit:

d85eed9f5763 ("iio: adc: meson-saradc: initialize the bandgap correctly on older SoCs")

from the staging.current tree and commit:

930df4d853a8 ("iio: adc: meson-saradc: remove irrelevant clock "sana"")

Quoted 8 lines

from the staging tree.

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.

Thanks for the notification, merge looks correct to me, Jonathan?

greg k-h

#2 lore raw
Quoted 38 lines

-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: 04 December 2017 09:10
To: Stephen Rothwell <[email protected]>
Cc: Linux-Next Mailing List <[email protected]>; Linux Kernel Mailing List <[email protected]>; Xingyu Chen <[email protected]>; Jonathan Cameron <[email protected]>; Martin Blumenstingl <[email protected]>
Subject: Re: linux-next: manual merge of the staging tree with the staging.current tree

Quoted 9 lines · Stephen Rothwell

Hi Greg,

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

drivers/iio/adc/meson_saradc.c

between commit:

d85eed9f5763 ("iio: adc: meson-saradc: initialize the bandgap correctly on

older SoCs")

Quoted 5 lines

from the staging.current tree and commit:

930df4d853a8 ("iio: adc: meson-saradc: remove irrelevant clock "sana"")

Quoted 8 lines

from the staging tree.

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.

Quoted 3 lines

Thanks for the notification, merge looks correct to me, Jonathan?

greg k-h

Looks right to me. Sorry about that - I should have noticed this one!

Thanks Stephen,

Jonathan

#3 lore raw
In reply to Stephen Rothwell
Quoted 14 lines · Stephen Rothwell

Hi Greg,

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

drivers/iio/adc/meson_saradc.c

between commit:

d85eed9f5763 ("iio: adc: meson-saradc: initialize the bandgap correctly on older SoCs")

from the staging.current tree and commit:

930df4d853a8 ("iio: adc: meson-saradc: remove irrelevant clock "sana"")

Quoted 8 lines

from the staging tree.

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.

This should now be resolved in my staging-next branch.

thanks,

greg k-h