From 70bf0cbb23bb75adc476acd4beb6d432e1ca4f61 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 24 Oct 2007 18:02:17 +0200 Subject: [PATCH] --- yaml --- r: 73915 b: refs/heads/master c: 33712560285c9f7f5251508bcddeef0c57aa3329 h: refs/heads/master i: 73913: 8f45c151e0ba723659f88649ab4c67059a656c1e 73911: b244a186e995cd007d39f428a70bf9c411df1648 v: v3 --- [refs] | 2 +- trunk/sound/pci/ca0106/ca0106_proc.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index be17daaac37d..9dc120f16530 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1700139acb2794df6f6ea17de3a6fc2f9c7510b1 +refs/heads/master: 33712560285c9f7f5251508bcddeef0c57aa3329 diff --git a/trunk/sound/pci/ca0106/ca0106_proc.c b/trunk/sound/pci/ca0106/ca0106_proc.c index ae80f51d8c4f..61f2718ae359 100644 --- a/trunk/sound/pci/ca0106/ca0106_proc.c +++ b/trunk/sound/pci/ca0106/ca0106_proc.c @@ -445,13 +445,11 @@ int __devinit snd_ca0106_proc_init(struct snd_ca0106 * emu) snd_info_set_text_ops(entry, emu, snd_ca0106_proc_reg_read1); entry->c.text.write = snd_ca0106_proc_reg_write; entry->mode |= S_IWUSR; -// entry->private_data = emu; } if(! snd_card_proc_new(emu->card, "ca0106_i2c", &entry)) { - snd_info_set_text_ops(entry, emu, snd_ca0106_proc_i2c_write); entry->c.text.write = snd_ca0106_proc_i2c_write; + entry->private_data = emu; entry->mode |= S_IWUSR; -// entry->private_data = emu; } if(! snd_card_proc_new(emu->card, "ca0106_regs2", &entry)) snd_info_set_text_ops(entry, emu, snd_ca0106_proc_reg_read2);