linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the reset tree with the sound-current tree
@ 2021-04-26 23:33 Stephen Rothwell
  2021-04-27  6:37 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2021-04-26 23:33 UTC (permalink / raw)
  To: Philipp Zabel, Takashi Iwai
  Cc: Dmitry Osipenko, Linux Kernel Mailing List,
	Linux Next Mailing List, Mark Brown

[-- Attachment #1: Type: text/plain, Size: 2008 bytes --]

Hi all,

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

  drivers/reset/core.c

between commit:

  48d71395896d ("reset: Add reset_control_bulk API")

from the sound-current tree and commit:

  463bdeed6760 ("reset: whitespace fixes")

from the reset 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.

-- 
Cheers,
Stephen Rothwell

diff --cc drivers/reset/core.c
index 71c1c8264b2d,123b0c53a857..000000000000
--- a/drivers/reset/core.c
+++ b/drivers/reset/core.c
@@@ -724,29 -610,9 +724,29 @@@ void reset_control_release(struct reset
  }
  EXPORT_SYMBOL_GPL(reset_control_release);
  
 +/**
 + * reset_control_bulk_release() - releases exclusive access to reset controls
 + * @num_rstcs: number of entries in rstcs array
 + * @rstcs: array of struct reset_control_bulk_data with reset controls set
 + *
 + * Releases exclusive access right to reset controls previously obtained by a
 + * call to reset_control_bulk_acquire().
 + *
 + * See also: reset_control_release(), reset_control_bulk_acquire()
 + */
 +void reset_control_bulk_release(int num_rstcs,
 +				struct reset_control_bulk_data *rstcs)
 +{
 +	int i;
 +
 +	for (i = 0; i < num_rstcs; i++)
 +		reset_control_release(rstcs[i].rstc);
 +}
 +EXPORT_SYMBOL_GPL(reset_control_bulk_release);
 +
- static struct reset_control *__reset_control_get_internal(
- 				struct reset_controller_dev *rcdev,
- 				unsigned int index, bool shared, bool acquired)
+ static struct reset_control *
+ __reset_control_get_internal(struct reset_controller_dev *rcdev,
+ 			     unsigned int index, bool shared, bool acquired)
  {
  	struct reset_control *rstc;
  

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-next: manual merge of the reset tree with the sound-current tree
  2021-04-26 23:33 linux-next: manual merge of the reset tree with the sound-current tree Stephen Rothwell
@ 2021-04-27  6:37 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2021-04-27  6:37 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Philipp Zabel, Takashi Iwai, Dmitry Osipenko,
	Linux Kernel Mailing List, Linux Next Mailing List, Mark Brown

On Tue, 27 Apr 2021 01:33:57 +0200,
Stephen Rothwell wrote:
> 
> Hi all,
> 
> Today's linux-next merge of the reset tree got a conflict in:
> 
>   drivers/reset/core.c
> 
> between commit:
> 
>   48d71395896d ("reset: Add reset_control_bulk API")
> 
> from the sound-current tree and commit:
> 
>   463bdeed6760 ("reset: whitespace fixes")
> 
> from the reset 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!


Takashi

> 
> -- 
> Cheers,
> Stephen Rothwell
> 
> diff --cc drivers/reset/core.c
> index 71c1c8264b2d,123b0c53a857..000000000000
> --- a/drivers/reset/core.c
> +++ b/drivers/reset/core.c
> @@@ -724,29 -610,9 +724,29 @@@ void reset_control_release(struct reset
>   }
>   EXPORT_SYMBOL_GPL(reset_control_release);
>   
>  +/**
>  + * reset_control_bulk_release() - releases exclusive access to reset controls
>  + * @num_rstcs: number of entries in rstcs array
>  + * @rstcs: array of struct reset_control_bulk_data with reset controls set
>  + *
>  + * Releases exclusive access right to reset controls previously obtained by a
>  + * call to reset_control_bulk_acquire().
>  + *
>  + * See also: reset_control_release(), reset_control_bulk_acquire()
>  + */
>  +void reset_control_bulk_release(int num_rstcs,
>  +				struct reset_control_bulk_data *rstcs)
>  +{
>  +	int i;
>  +
>  +	for (i = 0; i < num_rstcs; i++)
>  +		reset_control_release(rstcs[i].rstc);
>  +}
>  +EXPORT_SYMBOL_GPL(reset_control_bulk_release);
>  +
> - static struct reset_control *__reset_control_get_internal(
> - 				struct reset_controller_dev *rcdev,
> - 				unsigned int index, bool shared, bool acquired)
> + static struct reset_control *
> + __reset_control_get_internal(struct reset_controller_dev *rcdev,
> + 			     unsigned int index, bool shared, bool acquired)
>   {
>   	struct reset_control *rstc;
>   
> [2 OpenPGP digital signature <application/pgp-signature (7bit)>]
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-27  6:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26 23:33 linux-next: manual merge of the reset tree with the sound-current tree Stephen Rothwell
2021-04-27  6:37 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).