diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2016-01-04 03:04:36 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2016-01-04 03:04:36 +0000 |
commit | a4d60f31016adb1dc7c273b6d0cd7c0d21dcb417 (patch) | |
tree | 63b2175ae000eb80d39702446e5ad1e1180ad380 /Makefile | |
parent | 3d06abef13b80d8063d2f66a6617665c745a1cd9 (diff) | |
download | flashrom-a4d60f31016adb1dc7c273b6d0cd7c0d21dcb417.tar.gz flashrom-a4d60f31016adb1dc7c273b6d0cd7c0d21dcb417.tar.bz2 flashrom-a4d60f31016adb1dc7c273b6d0cd7c0d21dcb417.zip |
serprog: clear NDELAY flag only once after opening the port
Change sp_openserport() to directly clear the O_NONBLOCK flag that
is potentially set by opening the device with O_NDELAY instead of
clearing ALL flags in serialport_config() unconditionally.
Corresponding to flashrom svn r1905.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Urja Rannikko <urjaman@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions