[alsa-devel] [PATCH 05/15] ALSA: line6: Use device_create_file instead of snd_card_add_dev_attr
Takashi Iwai
tiwai at suse.de
Fri Aug 12 10:26:18 CEST 2016
On Thu, 11 Aug 2016 21:02:17 +0200,
Andrej Krutak wrote:
>
> The latter seems to create invalid configuration, the device pointer passed
> to the attr callbacks is not correct afterwards (results into segfaults when
> accessing the attributes).
As you already considered, this change is moving to a wrong
direction. The explicit call of device_create_file() should be
reduced as much as possible in general.
Takashi
More information about the Alsa-devel
mailing list