summaryrefslogtreecommitdiff
path: root/lib/rbcodec/dsp/pga.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/dsp/pga.c')
-rw-r--r--lib/rbcodec/dsp/pga.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/rbcodec/dsp/pga.c b/lib/rbcodec/dsp/pga.c
index de852d01d4..522789fcf2 100644
--- a/lib/rbcodec/dsp/pga.c
+++ b/lib/rbcodec/dsp/pga.c
@@ -129,13 +129,14 @@ static intptr_t pga_configure(struct dsp_proc_entry *this,
129 { 129 {
130 case DSP_PROC_INIT: 130 case DSP_PROC_INIT:
131 if (value != 0) 131 if (value != 0)
132 break; /* Already initialized */ 132 break; /* Already enabled */
133
133 this->data = (intptr_t)&pga_data; 134 this->data = (intptr_t)&pga_data;
134 this->process[0] = pga_process; 135 this->process = pga_process;
135 break; 136 break;
136 } 137 }
137 138
138 return 1; 139 return 0;
139 (void)dsp; 140 (void)dsp;
140} 141}
141 142