Skip to content

Commit

Permalink
iio: adc: ad_pulsar.c: remove reference to phase
Browse files Browse the repository at this point in the history
It is being set but likely isn't used, so remove it to avoid build
errors now that the new PWM waveform API is included.

Signed-off-by: Trevor Gamblin <[email protected]>
  • Loading branch information
threexc committed Nov 14, 2024
1 parent b9d95a4 commit 8fb6a90
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/iio/adc/ad_pulsar.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,6 @@ static int ad_pulsar_set_samp_freq(struct ad_pulsar_adc *adc, int freq)

cnv_state = (struct pwm_state){
.duty_cycle = ref_clk_period_ns,
.phase = ref_clk_period_ns,
.enabled = true,
};

Expand Down

0 comments on commit 8fb6a90

Please sign in to comment.