panel-mapphone: make sure retval of amoled_cmoste_wr is valid

Change-Id: I189c30bdd86fd6179da828c64df0eb11b17c335e
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0