snd_card_disconnect
Prev | Card Management | Next

## Name

snd_card_disconnect — disconnect all APIs from the file-operations (user space)

## Synopsis

`int snd_card_disconnect (` | struct snd_card * card`)`;

## Arguments

`card`

  soundcard structure

## Description

Disconnects all APIs from the file-operations (user space).

## Return

Zero, otherwise a negative error code.

## Note

The current implementation replaces all active file->f_op with special dummy file operations (they do nothing except release).

Prev | Up | Next
snd_card_create | Home | snd_card_unref