diff options
author | Tomasz Moń <desowin@gmail.com> | 2011-12-05 09:53:23 +0000 |
---|---|---|
committer | Tomasz Moń <desowin@gmail.com> | 2011-12-05 09:53:23 +0000 |
commit | bac6a70184b18ca17a46b3ed955944e1a4d3f032 (patch) | |
tree | b037d8e36e7d76c32d34de9c72f20dab3ec816ec /firmware/target/arm/tms320dm320/i2c-dm320.c | |
parent | 4811b516a35ab6d391cc738c17b9aa8a26505fbe (diff) | |
download | rockbox-bac6a70184b18ca17a46b3ed955944e1a4d3f032.tar.gz rockbox-bac6a70184b18ca17a46b3ed955944e1a4d3f032.zip |
Sansa Connect: Revise codec initialization/shutdown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31149 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/i2c-dm320.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/i2c-dm320.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/i2c-dm320.c b/firmware/target/arm/tms320dm320/i2c-dm320.c index 990dad0721..2530209402 100644 --- a/firmware/target/arm/tms320dm320/i2c-dm320.c +++ b/firmware/target/arm/tms320dm320/i2c-dm320.c | |||
@@ -287,4 +287,10 @@ int i2c_read(unsigned short address, unsigned char* buf, int count) | |||
287 | return i2c_read_data(dm320_i2c_bus, address, -1, buf, count); | 287 | return i2c_read_data(dm320_i2c_bus, address, -1, buf, count); |
288 | } | 288 | } |
289 | 289 | ||
290 | int i2c_read_bytes(unsigned short address, unsigned short reg, | ||
291 | unsigned char* buf, int count) | ||
292 | { | ||
293 | return i2c_read_data(dm320_i2c_bus, address, reg, buf, count); | ||
294 | } | ||
295 | |||
290 | #endif | 296 | #endif |