bus: hisi_lpc: Correct error code for timeout
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 5 Sep 2022 08:23:04 +0000 (16:23 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Thu, 8 Sep 2022 02:27:29 +0000 (02:27 +0000)
commit5e3e70b8e1ae98358d1534e27b0a8259ce3efee8
treeb0f5908465d888610d4647c439990688b3721188
parent23bea44cd00c618dca7877366cf8a5340ac110e9
bus: hisi_lpc: Correct error code for timeout

The usual error code is -ETIMEDOUT, the currently used -ETIME is specific
for timers.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
drivers/bus/hisi_lpc.c