Merge "msm: smd_tty: Handle error conditions in open operation"