Revision 5c2cb02edf79ad79d9b8d07c6d52243a948c4c9f authored by Stephane Grosjean on 23 November 2017, 14:44:35 UTC, committed by Marc Kleine-Budde on 01 December 2017, 10:20:52 UTC
PCI/PCIe drivers for PEAK-System CAN/CAN-FD interfaces do some access to the
PCI config during probing. In case one of these accesses fails, a POSITIVE
PCIBIOS_xxx error code is returned back. This POSITIVE error code MUST be
converted into a NEGATIVE errno for the probe() function to indicate it
failed. Using the pcibios_err_to_errno() function, we make sure that the
return code will always be negative.

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent f6c23b1
Raw File
Makefile
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for ALSA
# Copyright (c) 2002 by David S. Miller <davem@redhat.com>
#

snd-sun-amd7930-objs := amd7930.o
snd-sun-cs4231-objs := cs4231.o
snd-sun-dbri-objs := dbri.o

obj-$(CONFIG_SND_SUN_AMD7930) += snd-sun-amd7930.o
obj-$(CONFIG_SND_SUN_CS4231) += snd-sun-cs4231.o
obj-$(CONFIG_SND_SUN_DBRI) += snd-sun-dbri.o
back to top