lkml.org 
[lkml]   [2023]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] i2c: busses: i2c-nomadik: Remove a useless call in the remove function
Hi,

On Mon, Jul 03, 2023 at 03:54:42PM +0300, Dan Carpenter wrote:
> On Fri, Jun 30, 2023 at 11:23:28PM +0200, Christophe JAILLET wrote:
> > Since commit a410963ba4c0 ("Merge branch 'i2c-embedded/for-next' of
> > git://git.pengutronix.de/git/wsa/linux"), there is no more
> > request_mem_region() call in this driver.
> >
> > So remove the release_mem_region() call from the remove function which is
> > likely a left over.
> >
> > There is no details in the above commit log, but at its end we can read:
> > Conflicts:
> > drivers/i2c/busses/i2c-nomadik.c
> >
> > This may explain why this call has been left here.
> >
> > Fixes: a410963ba4c0 ("Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux
>
> The reason why you're so confused about this Merge commit is because
> it's completely unrelated to the bug. :P It should be:
>
> Fixes: 235602146ec9 (i2c-nomadik: turn the platform driver to an amba driver)
>
> When you look at that commit, you'll see that your patch is correct.

Yes, indeed I noticed the same but did not investigate further.
Please, also add:

Cc: <stable@vger.kernel.org> # v3.6+

Andi

\
 
 \ /
  Last update: 2023-07-04 09:38    [W:0.049 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site