commit | 051fb04712593a1bebdf638cd9f9935db2ce48aa | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Thu Oct 16 06:35:24 2014 -0500 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Fri Oct 17 18:11:59 2014 +0200 |
tree | a40218b835139c8b330bb93ba6267de9a727b2fe | |
parent | 8fd39e3dcb881501726ed0161855ed7a61f642ef [diff] |
greybus: don't assume subdevs are valid Most of the disconnect routines for the "subdevs" of a module blindly assume that initialization of the subdev was successful. Fix this by checking for null pointers. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>