linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kapileshwar Singh <kapileshwar.singh@arm.com>
To: linux-pm@vger.kernel.org
Cc: edubezval@gmail.com, rui.zhang@intel.com, javi.merino@arm.com,
	punit.agrawal@arm.com
Subject: [PATCH 0/2] thermal: of: Fix for cooling devices
Date: Tue, 13 Jan 2015 17:51:20 +0000	[thread overview]
Message-ID: <1421171482-16101-1-git-send-email-kapileshwar.singh@arm.com> (raw)

This set of patches aims at solving the problem 
due to which the thermal_zone_params are not populated in 
of-thermal. This results in the weight parameter not being 
propagated to the governor correctly.

We solve this problem by introducing a match function to 
replace the ops->bind and also by correctly populating the
thermal_bind_params and thermal_zone_params which involves
parsing the __thermal_bind_params and creating a parsed version
as an internal data structure) which optimizes the match callback.

Kapileshwar Singh (2):
  thermal: of: Match function to pass bindparam index
  thermal: of: Match function for of-thermal

 drivers/thermal/of-thermal.c   |  340 ++++++++++++++++++++++++++++++++--------
 drivers/thermal/thermal_core.c |    4 +-
 include/linux/thermal.h        |    2 +-
 3 files changed, 281 insertions(+), 65 deletions(-)

-- 
1.7.9.5



             reply	other threads:[~2015-01-13 17:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 17:51 Kapileshwar Singh [this message]
2015-01-13 17:51 ` [PATCH 1/2] thermal: of: Match function to pass bindparam index Kapileshwar Singh
2015-01-20 13:44   ` Eduardo Valentin
2015-01-13 17:51 ` [PATCH 2/2] thermal: of: Match function for of-thermal Kapileshwar Singh
2015-01-20 13:57   ` Eduardo Valentin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1421171482-16101-1-git-send-email-kapileshwar.singh@arm.com \
    --to=kapileshwar.singh@arm.com \
    --cc=edubezval@gmail.com \
    --cc=javi.merino@arm.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=punit.agrawal@arm.com \
    --cc=rui.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).