예제 #1
0
파일: ads7846.c 프로젝트: 168519/linux
/* Must be called with ts->lock held */
static void __ads7846_disable(struct ads7846 *ts)
{
	ads7846_stop(ts);
	regulator_disable(ts->reg);

	/*
	 * We know the chip's in low power mode since we always
	 * leave it that way after every request
	 */
}
예제 #2
0
파일: ads7846.c 프로젝트: ouyanghy/nanopi2
/* Must be called with ts->lock held */
static void __ads7846_disable(struct ads7846 *ts)
{
	ads7846_stop(ts);
#ifndef CONFIG_PLAT_S5P4418_NANOPI2	
	regulator_disable(ts->reg);
#endif
	/*
	 * We know the chip's in low power mode since we always
	 * leave it that way after every request
	 */
}