Home
last modified time | relevance | path

Searched hist:"6804 f6bba09997393904a112f2043963a8e08abf" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/char/tpm/
H A Dtpm-interface.cdiff 6804f6bba09997393904a112f2043963a8e08abf Mon Nov 07 06:14:33 CST 2016 Stefan Berger <stefanb@linux.vnet.ibm.com> tpm: Only call pm_runtime_get_sync if device has a parent

Only call pm_runtime_get_sync if the device has a parent. This
change fixes a crash in the tpm_vtpm_proxy driver since that
driver does not have a parent device.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>