Merge "ALSA: core: set private data for snd_info_entry"

This commit is contained in:
qctecmdr 2020-04-07 18:49:50 -07:00 • committed by Gerrit - the friendly Code Review server
commit 98044d2486

View file

@ -571,6 +571,7 @@ int snd_info_card_create(struct snd_card *card)
entry_state->size = SND_CARD_STATE_MAX_LEN;
entry_state->content = SNDRV_INFO_CONTENT_DATA;
entry_state->c.ops = &snd_info_card_state_proc_ops;
entry_state->private_data = card;
#endif
return 0;
}