diff options
author | Saravana Kannan <saravanak@google.com> | 2021-03-02 13:11:31 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-23 14:58:11 +0100 |
commit | b6f617df4fa936c1ab1831c2b23563f6c1add6c4 (patch) | |
tree | e64a51de6431df1a4f3233e692ccaed05dc3b25f /samples/uhid | |
parent | f2db85b64f0af1410ccb8ebcc9d7fa38e99feee9 (diff) |
driver core: Update device link status properly for device_bind_driver()
Device link status was not getting updated correctly when
device_bind_driver() is called on a device. This causes a warning[1].
Fix this by updating device links that can be updated and dropping
device links that can't be updated to a sensible state.
[1] - https://lore.kernel.org/lkml/56f7d032-ba5a-a8c7-23de-2969d98c527e@nvidia.com/
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20210302211133.2244281-3-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/uhid')
0 files changed, 0 insertions, 0 deletions