]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
zynqmp: sdhci: Prevent SD driver deferred probe after host init
authorManish Narani <manish.narani@xilinx.com>
Thu, 10 Aug 2017 08:22:03 +0000 (13:52 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 15 Aug 2017 10:37:23 +0000 (12:37 +0200)
commita49e5e4ac91e660a2b58f845b8588cf9ae3837bf
treebd03e83d7e02b0075eb241ac9bcdd74f9268d44b
parent3f17edfab77cdcdd13601c8040ac3461f8935c8d
zynqmp: sdhci: Prevent SD driver deferred probe after host init

This patch prevents deferred probe after the host initialization is
done. Instead if the deferred probe is necessary, do it before the host
initialization. This way the unnecessary increase in host id can be
avoided.
In standard boot flow deferred probe is called at least 2 times
that's why it is better to extract it out.
Also add error message when getting silicon version fails.

Signed-off-by: Manish Narani <mnarani@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mmc/host/sdhci-of-arasan.c