Home
last modified time | relevance | path

Searched refs:card_dev_to_put (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/sound/core/
Dtimer.c294 struct device *card_dev_to_put = NULL; in snd_timer_open() local
354 card_dev_to_put = &timer->card->card_dev; in snd_timer_open()
374 snd_timer_close_locked(timeri, &card_dev_to_put); in snd_timer_open()
379 if (err < 0 && card_dev_to_put) in snd_timer_open()
380 put_device(card_dev_to_put); in snd_timer_open()
457 struct device *card_dev_to_put = NULL; in snd_timer_close() local
463 snd_timer_close_locked(timeri, &card_dev_to_put); in snd_timer_close()
466 if (card_dev_to_put) in snd_timer_close()
467 put_device(card_dev_to_put); in snd_timer_close()