commit | a3bf5fa772963ef0310d982077784ef6839f2fa7 | [log] [tgz] |
---|---|---|
author | Mark Einon <mark.einon@gmail.com> | Sat Oct 01 11:14:11 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Oct 04 10:43:12 2011 -0700 |
tree | 7b770e78b73a458c23ff3679b2c4903e0377d067 | |
parent | 53c3ee0db36db31d095f4e902bc42a4dea18fd8c [diff] |
staging: et131x: Introduce et1310_in_phy_coma() call In several places in the code, the pm_csr register is read and the PHY_SW_COMA bit checked. Move this check into its own small function to make the code more readable. Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>