summaryrefslogtreecommitdiff
path: root/hw/wm8750.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/wm8750.c')
-rw-r--r--hw/wm8750.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/wm8750.c b/hw/wm8750.c
index b175167ad6..e35492408c 100644
--- a/hw/wm8750.c
+++ b/hw/wm8750.c
@@ -723,11 +723,11 @@ uint32_t wm8750_adc_dat(void *opaque)
return *data;
}
-void wm8750_set_bclk_in(void *opaque, int hz)
+void wm8750_set_bclk_in(void *opaque, int new_hz)
{
struct wm8750_s *s = (struct wm8750_s *) opaque;
- s->ext_adc_hz = hz;
- s->ext_dac_hz = hz;
+ s->ext_adc_hz = new_hz;
+ s->ext_dac_hz = new_hz;
wm8750_clk_update(s, 1);
}