soundwire: Fix typo in return value check of sdw_read()
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 8 Jan 2018 16:52:44 +0000 (22:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 16:53:21 +0000 (17:53 +0100)
commit80cd8f0175d03fa166a5b8a3c80ac5059c248188
tree588122f22c261626f7fcb9ed17062c3547ee4d3f
parent7094dc2b537b0eeb08fb7a35d528be35a2cc5e59
soundwire: Fix typo in return value check of sdw_read()

Fix the typo, 'status' should be instead of 'status2'.

Fixes: b0a9c37b0178 ("soundwire: Add slave status handling")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/soundwire/bus.c