sound: make lspci silent if no PCI bus is available (arm)
This commit is contained in:
parent
b8ce4a9a82
commit
c33c8978df
@ -74,7 +74,7 @@ _EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
if [ -e /proc/bus/pci ]; then
|
if [ -e /proc/bus/pci ]; then
|
||||||
SOUND_DEV="`lspci -n | grep " 04[0-9][0-9]: "`"
|
SOUND_DEV="`lspci -n 2>/dev/null| grep " 04[0-9][0-9]: "`"
|
||||||
fi
|
fi
|
||||||
if [ ! "$SOUND_DEV" ]; then
|
if [ ! "$SOUND_DEV" ]; then
|
||||||
if [ -e /proc/asound/cards ]; then
|
if [ -e /proc/asound/cards ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user