1. 14 10月, 2015 1 次提交
  2. 11 9月, 2015 2 次提交
  3. 21 8月, 2015 1 次提交
    • P
      bq2415x_charger: Allow to load and use driver even if notify device is not registered yet · b68c3161
      Pali Rohár 提交于
      Driver bq2415x_charger works also without notify power supply device for
      charger detection. But when charger detection is specified in DT, then
      bq2415x_charger refused to loaded with -EPROBE_DEFER.
      
      This patch rewrites code so that notify device for charger detection is
      checked when power supply event is received and not when registering power
      supply device. So this patch allows to use bq2415x_charger driver also when
      kernel is compiled without driver for notify power supply device.
      
      Now after this patch scheduled workqueue is called after INIT_DELAYED_WORK,
      so it also fix problem when scheduled workqueue was called before init.
      Signed-off-by: NPali Rohár <pali.rohar@gmail.com>
      Signed-off-by: NSebastian Reichel <sre@kernel.org>
      b68c3161
  4. 08 8月, 2015 2 次提交
  5. 07 8月, 2015 1 次提交
  6. 05 8月, 2015 15 次提交
  7. 03 8月, 2015 2 次提交
    • S
      thermal: consistently use int for temperatures · 17e8351a
      Sascha Hauer 提交于
      The thermal code uses int, long and unsigned long for temperatures
      in different places.
      
      Using an unsigned type limits the thermal framework to positive
      temperatures without need. Also several drivers currently will report
      temperatures near UINT_MAX for temperatures below 0°C. This will probably
      immediately shut the machine down due to overtemperature if started below
      0°C.
      
      'long' is 64bit on several architectures. This is not needed since INT_MAX °mC
      is above the melting point of all known materials.
      
      Consistently use a plain 'int' for temperatures throughout the thermal code and
      the drivers. This only changes the places in the drivers where the temperature
      is passed around as pointer, when drivers internally use another type this is
      not changed.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      Acked-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Reviewed-by: NJean Delvare <jdelvare@suse.de>
      Reviewed-by: NLukasz Majewski <l.majewski@samsung.com>
      Reviewed-by: NDarren Hart <dvhart@linux.intel.com>
      Reviewed-by: NHeiko Stuebner <heiko@sntech.de>
      Reviewed-by: NPeter Feuerer <peter@piie.net>
      Cc: Punit Agrawal <punit.agrawal@arm.com>
      Cc: Zhang Rui <rui.zhang@intel.com>
      Cc: Eduardo Valentin <edubezval@gmail.com>
      Cc: linux-pm@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Cc: Jean Delvare <jdelvare@suse.de>
      Cc: Peter Feuerer <peter@piie.net>
      Cc: Heiko Stuebner <heiko@sntech.de>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: linux-acpi@vger.kernel.org
      Cc: platform-driver-x86@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-omap@vger.kernel.org
      Cc: linux-samsung-soc@vger.kernel.org
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Cc: Darren Hart <dvhart@infradead.org>
      Cc: lm-sensors@lm-sensors.org
      Signed-off-by: NZhang Rui <rui.zhang@intel.com>
      17e8351a
    • P
      rx51-battery: Set name to rx51-battery · b5e57863
      Pali Rohár 提交于
      For compatibility between board code and DT, set battery name to same value.
      Signed-off-by: NPali Rohár <pali.rohar@gmail.com>
      Acked-by: NPavel Machek <pavel@ucw.cz>
      Signed-off-by: NSebastian Reichel <sre@kernel.org>
      b5e57863
  8. 27 7月, 2015 5 次提交
  9. 24 7月, 2015 8 次提交
  10. 21 7月, 2015 1 次提交
  11. 17 7月, 2015 1 次提交
  12. 13 7月, 2015 1 次提交