cardthe card instance
typethe device type, SNDRV_DEV_XXX
device_datathe data pointer of this device
opsthe operator table
Creates a new device component for the given data pointer. The device will be assigned to the card and managed together by the card.
The data pointer plays a role as the identifier, too, so the pointer address must be unique and unchanged.
Returns zero if successful, or a negative error code on failure.