snd_device_disconnect(9)

snd_device_disconnect9

Disconnect the device

Usage

void snd_device_disconnect(struct snd_card * card, void * device_data);

Arguments

card

the card instance

device_data

the data pointer to disconnect

Overview

Turns the device into the disconnection state, invoking dev_disconnect callback, if the device was already registered.

Usually called from snd_card_disconnect.

Return

Zero if successful, or a negative error code on failure or if the device not found.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.