rt1308-sdw.c (cf36ae3e5802716617b9e4d902a31048240396b0) | rt1308-sdw.c (917df025e1db1286afb6e46914ae3e8b40241568) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2// 3// rt1308-sdw.c -- rt1308 ALSA SoC audio driver 4// 5// Copyright(c) 2019 Realtek Semiconductor Corp. 6// 7// 8#include <linux/delay.h> --- 735 unchanged lines hidden (view full) --- 744 745 if (!slave->unattach_request) 746 goto regmap_sync; 747 748 time = wait_for_completion_timeout(&slave->initialization_complete, 749 msecs_to_jiffies(RT1308_PROBE_TIMEOUT)); 750 if (!time) { 751 dev_err(&slave->dev, "Initialization not complete, timed out\n"); | 1// SPDX-License-Identifier: GPL-2.0 2// 3// rt1308-sdw.c -- rt1308 ALSA SoC audio driver 4// 5// Copyright(c) 2019 Realtek Semiconductor Corp. 6// 7// 8#include <linux/delay.h> --- 735 unchanged lines hidden (view full) --- 744 745 if (!slave->unattach_request) 746 goto regmap_sync; 747 748 time = wait_for_completion_timeout(&slave->initialization_complete, 749 msecs_to_jiffies(RT1308_PROBE_TIMEOUT)); 750 if (!time) { 751 dev_err(&slave->dev, "Initialization not complete, timed out\n"); |
752 sdw_show_ping_status(slave->bus, true); 753 |
|
752 return -ETIMEDOUT; 753 } 754 755regmap_sync: 756 slave->unattach_request = 0; 757 regcache_cache_only(rt1308->regmap, false); 758 regcache_sync_region(rt1308->regmap, 0xc000, 0xcfff); 759 --- 24 unchanged lines hidden --- | 754 return -ETIMEDOUT; 755 } 756 757regmap_sync: 758 slave->unattach_request = 0; 759 regcache_cache_only(rt1308->regmap, false); 760 regcache_sync_region(rt1308->regmap, 0xc000, 0xcfff); 761 --- 24 unchanged lines hidden --- |