i2c: cros-ec-tunnel: Fix slave device enumeration
authorAkshu Agrawal <akshu.agrawal@amd.com>
Thu, 21 Nov 2019 09:06:17 +0000 (14:36 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 31 Jan 2020 08:01:20 +0000 (09:01 +0100)
commit8ff2d7ca4a55dfabf12e876369835bd024eb4621
treecee2e7510427524363433d04c53e71982eedf49a
parentea6dd25deeb5b797a145be7f860e3085e7d104c3
i2c: cros-ec-tunnel: Fix slave device enumeration

During adding of the adapter the slave device registration
use to fail as the acpi companion field was not populated.

Fixes: 9af1563a5486 ("i2c: cros-ec-tunnel: Make the device acpi compatible")
Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Acked-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-cros-ec-tunnel.c