diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-01-22 15:06:26 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-02-06 15:54:53 +0530 |
commit | b04c975e654cfdea6d691cd403b5a81cce7e593d (patch) | |
tree | 8a8edd175d8621e4fa17f16abf9403ebe85624bf /drivers/parisc/eisa_eeprom.c | |
parent | a1d9fda296b86842014f6799a108f71726696fe2 (diff) | |
download | linux-b04c975e654cfdea6d691cd403b5a81cce7e593d.tar.bz2 |
soundwire: bus: use sdw_update_no_pm when initializing a device
When a Slave device is resumed, it may resume the bus and restart the
enumeration. During that process, we absolutely don't want to call
regular read/write routines which will wait for the resume to
complete, otherwise a deadlock occurs.
Fixes: 60ee9be25571 ('soundwire: bus: add PM/no-PM versions of read/write functions')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20210122070634.12825-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/parisc/eisa_eeprom.c')
0 files changed, 0 insertions, 0 deletions