soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 12 Jan 2017 14:53:41 +0000 (14:53 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 12 Jan 2017 21:37:49 +0000 (13:37 -0800)
commit36b29eb30ee0f6c99f06bea406c23a3fd4cbb80b
treeb902d4161f41bafb5a66cb549d12f36e38e840cf
parent657279778af54f35e54b07b6687918f254a2992c
soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()

Fix to return a negative error code from the kthread_run() error
handling case instead of 0, as done elsewhere in this function.

Fixes: cdd5de500b2c ("soc: ti: Add wkup_m3_ipc driver")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/soc/ti/wkup_m3_ipc.c