commit | f0eefdc30e55e761facf645bd1be1339b21c30e6 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jirislaby@gmail.com> | Sat Sep 19 13:13:13 2009 -0700 |
committer | Live-CD User <linux@linux.site> | Sat Sep 19 13:13:13 2009 -0700 |
tree | fbde46003a58550c3312ce7732a23213985e81fa | |
parent | f0737579424dd2c4e68bdd54c718455a3f42c7b5 [diff] |
cyclades: avoid addresses recomputation Don't fetch firmware address and recompute channel control on each port access. Precompute the values on init and use them later all the time. The same for board control. This simplify code and improves readability. 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>