1. 21 7月, 2015 1 次提交
  2. 13 7月, 2015 1 次提交
  3. 09 7月, 2015 1 次提交
    • A
      power_supply: rt9455_charger: Properly notify userspace about charging events · f5bbc91c
      Anda-Maria Nicolae 提交于
      Charging events this patch refers to are:
      - charger is connected to/disconnected from the power source
      - battery is reconnected to the charger, after it was absent.
      
      When the charger is connected to/disconnected from the power source, CHRVPI
      interrupt occurs and PWR_RDY bit is either set or cleared. PWR_RDY bit is
      updated after 1-2 seconds CHRVPI interrupt has occurred.
      power_supply_changed() should be called after PWR_RDY bit is updated.
      /sys/class/power_supply/rt9455-charger/online file displays the value of
      PWR_RDY bit.
      This way, if the userspace is notified that a charging event has occurred
      and the userspace reads /sys/class/power_supply/rt9455-charger/online file,
      this file is properly updated when the userspace reads it.
      This is the reason why power_supply_changed() is called in
      rt9455_pwr_rdy_work_callback(), instead of being called in interrupt
      handler.
      
      Since no interrupt is triggered when the battery is reconnected to the
      charger, the userspace is never notified that the battery is reconnected.
      This is why power_supply_changed() is called in
      rt9455_max_charging_time_work_callback(), so that the userspace is notified
      that the battery is reconnected.
      Signed-off-by: NAnda-Maria Nicolae <anda-maria.nicolae@intel.com>
      Reviewed-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: NSebastian Reichel <sre@kernel.org>
      f5bbc91c
  4. 06 7月, 2015 2 次提交
    • L
      Linux 4.2-rc1 · d770e558
      Linus Torvalds 提交于
      d770e558
    • L
      Merge tag 'platform-drivers-x86-v4.2-2' of... · a585d2b7
      Linus Torvalds 提交于
      Merge tag 'platform-drivers-x86-v4.2-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86
      
      Pull late x86 platform driver updates from Darren Hart:
       "The following came in a bit later and I wanted them to bake in next a
        few more days before submitting, thus the second pull.
      
        A new intel_pmc_ipc driver, a symmetrical allocation and free fix in
        dell-laptop, a couple minor fixes, and some updated documentation in
        the dell-laptop comments.
      
        intel_pmc_ipc:
         - Add Intel Apollo Lake PMC IPC driver
      
        tc1100-wmi:
         - Delete an unnecessary check before the function call "kfree"
      
        dell-laptop:
         - Fix allocating & freeing SMI buffer page
         - Show info about WiGig and UWB in debugfs
         - Update information about wireless control"
      
      * tag 'platform-drivers-x86-v4.2-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86:
        intel_pmc_ipc: Add Intel Apollo Lake PMC IPC driver
        tc1100-wmi: Delete an unnecessary check before the function call "kfree"
        dell-laptop: Fix allocating & freeing SMI buffer page
        dell-laptop: Show info about WiGig and UWB in debugfs
        dell-laptop: Update information about wireless control
      a585d2b7
  5. 05 7月, 2015 34 次提交
  6. 04 7月, 2015 1 次提交