[PATCH] ath10k: move driver state check before setting throttle

Rajkumar Manoharan rmanohar at qti.qualcomm.com
Sun Mar 15 01:27:36 PDT 2015

On Fri, Mar 13, 2015 at 06:48:21PM +0200, Kalle Valo wrote:
> Rajkumar Manoharan <rmanohar at qti.qualcomm.com> writes:
> > Since thermal daemon is unaware of the device state, it might
> > try to adjust the throttle state when the device is powered down.
> > So the driver caches the value and will configure it while
> > powering up the target. The cached value will be programed later
> > once the device is brought up. In such case, returning error
> > status is confusing and misleading the user application. Hence
> > moving the driver state check before sending wmi command to target.
> >
> > Reported-by: Matthias Kaehlcke <mka at google.com>
> > Signed-off-by: Rajkumar Manoharan <rmanohar at qti.qualcomm.com>
> What tree do you use as the baseline? Three-way merge doesn't work as
> sha1 ids are not found:
Will send rebased version.


More information about the ath10k mailing list