Skip to content

Commit

Permalink
staging: omap-thermal: document omap_bandgap_force_single_read
Browse files Browse the repository at this point in the history
Document function to initialize the conversion state machine.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Eduardo Valentin authored and Greg Kroah-Hartman committed Mar 15, 2013
1 parent a84b6f4 commit 31102a7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/staging/omap-thermal/omap-bandgap.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,14 @@ void *omap_bandgap_get_sensor_data(struct omap_bandgap *bg_ptr, int id)

/*** Helper functions used during device initialization ***/

/**
* omap_bandgap_force_single_read() - executes 1 single ADC conversion
* @bg_ptr: pointer to struct omap_bandgap
* @id: sensor id which it is desired to read 1 temperature
*
* Used to initialize the conversion state machine and set it to a valid
* state. Called during device initialization and context restore events.
*/
static int
omap_bandgap_force_single_read(struct omap_bandgap *bg_ptr, int id)
{
Expand Down

0 comments on commit 31102a7

Please sign in to comment.