SND_UNREGISTER_DEVIC

Section: Management of Cards and Device (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

snd_unregister_device - unregister the device on the given card  

SYNOPSIS

int snd_unregister_device(int type, struct snd_card * card, int dev);
 

ARGUMENTS

type

the device type, SNDRV_DEVICE_TYPE_XXX

card

the card instance

dev

the device index
 

DESCRIPTION

Unregisters the device file already registered via snd_register_device.

Returns zero if sucecessful, or a negative error code on failure  

COPYRIGHT