[lkml]   [2016]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] tpm: don't destroy chip device prematurely
    On Wed, Oct 05, 2016 at 06:15:26PM +0300, Jarkko Sakkinen wrote:

    > The important thing is to notice that runtime PM requires the device
    > to be "alive" and in the device hierarchy. It's a constraint...

    There are two devices.

    The chip->dev and the chip->dev.parent (aka the acpi_device)

    Runtime PM is *only* attached to the chip->dev.parent - it does not
    interact in any significant way with the chip->dev.

    device_del is on the chip->dev. The acpi_device remains intact, and
    fully functional.

    This is why the whole patch is so confusing to me.


     \ /
      Last update: 2016-10-05 18:38    [W:2.943 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site