]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cyclades: tiocm cleanup
authorJiri Slaby <jirislaby@gmail.com>
Sat, 19 Sep 2009 20:13:16 +0000 (13:13 -0700)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:16 +0000 (13:13 -0700)
commit0d3487294e4e175eb6371c8df8ef44b45964e0f6
tree821471e01f7ee85bdf83830db5efc273fbf199c5
parent6c28181cf8b7d5af5f20a7bd102452033e14d946
cyclades: tiocm cleanup

- save one indent level by inverting !fw_loaded condition
- read rs_status on Z and write it after we change all the flags,
  don't do that separately
- remove Y inverted rts/dtr branching, precompute registers and use
  them

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/cyclades.c