(resend) echoaudio disable device
PATCH 1/1 (resend) echoaudio disable device
*sigh*
- Add missing calls to pci_disable_device()
pci/echoaudio/echoaudio.c +5 -1
@@ -1746,6 +1746,8 @@ }DE_INIT (("MMIO freed.\n" )); +pci_disable_device (chip->pci); +/* release chip data */ kfree (chip);DE_INIT (("Chip freed.\n" ));
@@ -1784,8 +1786,10 @@/* allocate a chip-specific data */ chip =kcalloc (1 ,sizeof (echoaudio_t),GFP_KERNEL ); -if (!chip) +if (!chip) { +pci_disable_device (pci);return -ENOMEM ; + }DE_INIT (("chip=%p\n" , chip));spin_lock_init (&chip->lock);
--
Giuliano.
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
Takashi Iwai
AppliedAt Wed, 11 May 2005 22:36:01 +0200,
Quoted 8 lines · Giuliano Pochini
*sigh*
- Add missing calls to
pci_disable_device()Signed-off-by Giuliano Pochini <[email protected]>
Thanks, applied now. (sorry for the delay - I've been in vacation)
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click