Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 994bda83 authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller Committed by Jonathan Cameron
Browse files

iio: adc: twl4030_madc: Fix description of twl4030_madc_set_current_generator()



The @chan parameter can be 0 or 1 and not a bit mask. Fix wrong description.

Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: default avatarMarek Belisko <marek@goldelico.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 0cbb39f1
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -662,10 +662,8 @@ EXPORT_SYMBOL_GPL(twl4030_get_madc_conversion);
 *
 * @madc:	pointer to twl4030_madc_data struct
 * @chan:	can be one of the two values:
 *		TWL4030_BCI_ITHEN
 *		Enables bias current for main battery type reading
 *		TWL4030_BCI_TYPEN
 *		Enables bias current for main battery temperature sensing
 *		0 - Enables bias current for main battery type reading
 *		1 - Enables bias current for main battery temperature sensing
 * @on:		enable or disable chan.
 *
 * Function to enable or disable bias current for