• A
    tty: moxa: Locking clean up · a808ac0c
    Alan Cox 提交于
    - The open lock is needed to fix up the case of a board reset occuring during
      tty open but too early for a sane hangup response.
    - The lock can however got for other cases
    - Use the port mutex for get/setserial
    - Fix up the confused lack of locking on the THROTTLE and other bits in the
      private flags. Just use set/test/clear bit and it covers the cases we need
    Signed-off-by: NAlan Cox <alan@linux.intel.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    a808ac0c
moxa.c 52.9 KB