Re: [RFC 2/4] alsa: add locked variant for snd_ctl_remove_id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16 February 2016 at 19:43, Takashi Iwai <tiwai@xxxxxxx> wrote:
> On Tue, 16 Feb 2016 14:54:57 +0100,
> Vaibhav Agarwal wrote:
>>
>> +Takashi
>>
>> On 15 February 2016 at 19:32, Mark Brown <broonie@xxxxxxxxxx> wrote:
>> > On Mon, Feb 15, 2016 at 05:49:30PM +0530, Vaibhav Agarwal wrote:
>> >> While removing kcontrols due to dynamic dai_link/codec removal,
>> >> mutex/semaphore for soc-card/sound card is already acquired.
>> >> Thus, added lock already acquired variant for ctl_remove_id.
>> >
>> > Please use subject lines matching the style for the subsystem and
>> > remember to CC maintainers on patch submission.
>>  Sure, will follow the convention for subject lines as well.
>
> I prefer reducing snd_ctl_remove_id() as well.  Just wrap the call of
> the unlocked one with down/up_write().
Sure, will make the change in next patchset.
>
>
> Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux