We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 574469e commit 0a2741cCopy full SHA for 0a2741c
sound/isa/sb/sb8.c
@@ -111,6 +111,10 @@ static int snd_sb8_probe(struct device *pdev, unsigned int dev)
111
112
/* block the 0x388 port to avoid PnP conflicts */
113
acard->fm_res = request_region(0x388, 4, "SoundBlaster FM");
114
+ if (!acard->fm_res) {
115
+ err = -EBUSY;
116
+ goto _err;
117
+ }
118
119
if (port[dev] != SNDRV_AUTO_PORT) {
120
if ((err = snd_sbdsp_create(card, port[dev], irq[dev],
0 commit comments