Fixed char dev driver bug #8889112

    Bug #8889112 introduced by fix for bug #9176084

    * Bug introduced with this patch
      https://android.googlesource.com/platform/cts/+/android-4.3_r1.1%5E%21/#F0

    * Bug fixed with this patch
      https://android.googlesource.com/kernel/msm/+/a7e522b11a236f2f5547f1e6c407ece9e524f904%5E%21/#F0