snd_device_register(9)

snd_device_register9

Register the device

Usage

int snd_device_register(struct snd_card * card, void * device_data);

Arguments

card

the card instance

device_data

the data pointer to register

Overview

Registers the device which was already created via snd_device_new. Usually this is called from snd_card_register, but it can be called later if any new devices are created after invocation of snd_card_register.

Return

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

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

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