[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fdaedef8-4734-7ab3-9334-b628f8207c9e@infradead.org>
Date: Fri, 27 Nov 2020 11:37:07 -0800
From: Geoff Levand <geoff@...radead.org>
To: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Michael Ellerman <mpe@...erman.id.au>,
Jens Axboe <axboe@...nel.dk>, Jim Paris <jim@...n.com>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Alan Stern <stern@...land.harvard.edu>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Leonard Goehrs <l.goehrs@...gutronix.de>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
linuxppc-dev@...ts.ozlabs.org, alsa-devel@...a-project.org,
linux-block@...r.kernel.org, netdev@...r.kernel.org,
linux-scsi@...r.kernel.org, linux-usb@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-fbdev@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: Re: [PATCH 1/2] ALSA: ppc: drop if block with always false condition
Hi Uwe,
On 11/26/20 8:59 AM, Uwe Kleine-König wrote:
> The remove callback is only called for devices that were probed
> successfully before. As the matching probe function cannot complete
> without error if dev->match_id != PS3_MATCH_ID_SOUND, we don't have to
> check this here.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
I tested your two patches plus Leonard's patch 'ALSA: ppc: remove
redundant checks in PS3 driver probe' applied to v5.9 on the PS3,
and they seem to work fine.
Thanks for both your efforts.
Tested by: Geoff Levand <geoff@...radead.org>
Powered by blists - more mailing lists