commit | 32c90f1682a01ff9e1c2fa83c18a15e35f7563ce | [log] [tgz] |
---|---|---|
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | Tue Dec 06 17:01:41 2016 +0100 |
committer | Cyrille Pitchen <cyrille.pitchen@atmel.com> | Fri Feb 10 13:54:52 2017 +0100 |
tree | b1455a51c470b16f8fa97b8ccfaa8acf61c7a015 | |
parent | e99ca98f1d7190c16601b00d0c96212d7c00577d [diff] |
mtd: spi-nor: improve macronix_quad_enable() The patch checks whether the Quad Enable bit is already set in the Status Register. If so, the function exits immediately with a successful return code. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Reviewed-by: Jagan Teki <jagan@openedev.com> Acked-by: Marek Vasut <marek.vasut@gmail.com>