diff options
author | Michael Sparmann <theseven@rockbox.org> | 2011-02-07 18:54:33 +0000 |
---|---|---|
committer | Michael Sparmann <theseven@rockbox.org> | 2011-02-07 18:54:33 +0000 |
commit | 597e01bd081f5afcef81d051d8da5fc1b8d3a3a6 (patch) | |
tree | 6e05391430f6178d0fe9303745e8a3b0f5dd10d5 /firmware/target/arm/s5l8702 | |
parent | 91f9b0b8ca698315316abbf98bfb7667a0ecd27b (diff) | |
download | rockbox-597e01bd081f5afcef81d051d8da5fc1b8d3a3a6.tar.gz rockbox-597e01bd081f5afcef81d051d8da5fc1b8d3a3a6.zip |
Fix some evil whitespace
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29243 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8702')
-rw-r--r-- | firmware/target/arm/s5l8702/i2c-s5l8702.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/s5l8702/i2c-s5l8702.c b/firmware/target/arm/s5l8702/i2c-s5l8702.c index 954bacbd61..294e5b58ce 100644 --- a/firmware/target/arm/s5l8702/i2c-s5l8702.c +++ b/firmware/target/arm/s5l8702/i2c-s5l8702.c | |||
@@ -74,7 +74,7 @@ void i2c_init() | |||
74 | int i2c_write(int bus, unsigned char slave, int address, int len, const unsigned char *data) | 74 | int i2c_write(int bus, unsigned char slave, int address, int len, const unsigned char *data) |
75 | { | 75 | { |
76 | mutex_lock(&i2c_mtx[bus]); | 76 | mutex_lock(&i2c_mtx[bus]); |
77 | i2c_on(bus); | 77 | i2c_on(bus); |
78 | long timeout = current_tick + HZ / 50; | 78 | long timeout = current_tick + HZ / 50; |
79 | 79 | ||
80 | /* START */ | 80 | /* START */ |
@@ -123,7 +123,7 @@ int i2c_write(int bus, unsigned char slave, int address, int len, const unsigned | |||
123 | return 5; | 123 | return 5; |
124 | } | 124 | } |
125 | 125 | ||
126 | i2c_off(bus); | 126 | i2c_off(bus); |
127 | mutex_unlock(&i2c_mtx[bus]); | 127 | mutex_unlock(&i2c_mtx[bus]); |
128 | return 0; | 128 | return 0; |
129 | } | 129 | } |
@@ -131,7 +131,7 @@ int i2c_write(int bus, unsigned char slave, int address, int len, const unsigned | |||
131 | int i2c_read(int bus, unsigned char slave, int address, int len, unsigned char *data) | 131 | int i2c_read(int bus, unsigned char slave, int address, int len, unsigned char *data) |
132 | { | 132 | { |
133 | mutex_lock(&i2c_mtx[bus]); | 133 | mutex_lock(&i2c_mtx[bus]); |
134 | i2c_on(bus); | 134 | i2c_on(bus); |
135 | long timeout = current_tick + HZ / 50; | 135 | long timeout = current_tick + HZ / 50; |
136 | 136 | ||
137 | if (address >= 0) { | 137 | if (address >= 0) { |
@@ -189,7 +189,7 @@ int i2c_read(int bus, unsigned char slave, int address, int len, unsigned char * | |||
189 | return 5; | 189 | return 5; |
190 | } | 190 | } |
191 | 191 | ||
192 | i2c_off(bus); | 192 | i2c_off(bus); |
193 | mutex_unlock(&i2c_mtx[bus]); | 193 | mutex_unlock(&i2c_mtx[bus]); |
194 | return 0; | 194 | return 0; |
195 | } | 195 | } |