]> git.karo-electronics.de Git - linux-beck.git/commit
base: dd: don't remove driver_data in -EPROBE_DEFER case
authorYi Zhang <yizhang_hust@163.com>
Tue, 8 Mar 2016 15:15:22 +0000 (23:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 May 2016 21:22:17 +0000 (14:22 -0700)
commitded9db380d34344ee5263002570b9b8b705f7830
treef412164e387e064d8d48f4603e9c0173c557723a
parente4234a1fc343ca35f852bc527fae56fade879d4a
base: dd: don't remove driver_data in -EPROBE_DEFER case

the driver_data may be used for sanity check, it fails the
probe() if driver_data is NULL after it is re-triggered.
for example, soc_probe() in sound/soc/soc-core.c

Signed-off-by: Yi Zhang <yizhang_hust@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dd.c