linux/sound/ppc
Leonard Goehrs e4e1d47c79 ALSA: ppc: remove redundant checks in PS3 driver probe
The check for the FW_FEATURE_PS3_LV1 firmware feature is already performed
in ps3_system_bus_init() before registering the driver. So if the probe
function is actually used, this feature is already known to be available.

The check for the match id is also superfluous; the condition is always
true because the bus' match function (ps3_system_bus_match()) only
considers this driver for devices having:
dev->match_id == snd_ps3_bus_driver_info.match_id.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Leonard Goehrs <l.goehrs@pengutronix.de>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tested-by: Geoff Levand <geoff@infradead.org>
Link: https://lore.kernel.org/r/20201127152259.1470079-1-l.goehrs@pengutronix.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-11-28 09:49:19 +01:00
..
awacs.c ALSA: Replace the word "slave" in vmaster API 2020-07-20 10:10:47 +02:00
awacs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
beep.c ALSA: ppc: More constifications 2020-01-05 16:14:43 +01:00
burgundy.c ALSA: ppc: Constify snd_kcontrol_new items 2020-01-03 09:24:32 +01:00
burgundy.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
daca.c ALSA: ppc: Constify snd_kcontrol_new items 2020-01-03 09:24:32 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
keywest.c ALSA: ppc: keywest: convert to use i2c_new_client_device() 2020-03-27 09:33:01 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
pmac.c ALSA: sound/ppc: Use bitwise instead of arithmetic operator for flags 2020-05-07 09:06:11 +02:00
pmac.h ALSA: ppc: More constifications 2020-01-05 16:14:43 +01:00
powermac.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
snd_ps3.c ALSA: ppc: remove redundant checks in PS3 driver probe 2020-11-28 09:49:19 +01:00
snd_ps3.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 277 2019-06-05 17:36:36 +02:00
snd_ps3_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
tumbler.c ALSA: ppc: More constifications 2020-01-05 16:14:43 +01:00
tumbler_volume.h ALSA: ppc: More constifications 2020-01-05 16:14:43 +01:00