Skip to content

Commit

Permalink
cyclades: avoid addresses recomputation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Slaby authored and Live-CD User committed Sep 19, 2009
1 parent f073757 commit f0eefdc
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 170 deletions.
Loading

0 comments on commit f0eefdc

Please sign in to comment.