Merge changes I80c4e153,I6c154a3c into msm-3.0

* changes:
  msm: smd_tty: Check the device is open before scheduling tasklets
  msm: smd_tty: Reset the open flag in close operation