msm: smd_pkt: Avoid prematurely stashing driver info

smd_pkt_release() relies on checks that would pass by default
(reference count == 0) to proceed with the release even if the
open was unsuccessful in the first place

Bug: b/18759663
Signed-off-by: Naveen Ramaraj <nramaraj@codeaurora.org>
1 file changed