msm: smd_tty: Introduce sleep in case subsytem_get returns error
msm: smd_tty: Introduce sleep in case subsytem_get returns error

While opening a smd_port, if the subsytem_get returns error the call to
open returns immediately there by giving a chance to the user space
process to repeatedly place a call to open the same port. This could
lead to a watch dog bite.

Add a sleep in case subsystem_get returns error.

Change-Id: Ic4b88913c955c2362be9e319683418e8ccbe5217
Signed-off-by: Zaheerulla Meer <9cf19ce3c18897332a39f1b9fe43a84c62c51acc@codeaurora.org>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas