diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-12-15 17:07:15 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-12-15 17:07:15 +0000 |
commit | 39148be8ac62d5e2d43f207dcccf2426eaa97310 (patch) | |
tree | b5d2f8a5fed35d91e1ab37c593db5f7e5a7c5c36 /firmware/target | |
parent | 489296afa3c0ad3a7b557355545322cc05b8b494 (diff) |
imx233: fix to typo and remove a forgotten panic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31269 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/imx233/clkctrl-imx233.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/imx233/mmc-imx233.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/imx233/sd-imx233.c | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/firmware/target/arm/imx233/clkctrl-imx233.c b/firmware/target/arm/imx233/clkctrl-imx233.c index fa94f23a0f..dbdc12e38e 100644 --- a/firmware/target/arm/imx233/clkctrl-imx233.c +++ b/firmware/target/arm/imx233/clkctrl-imx233.c @@ -266,7 +266,7 @@ unsigned imx233_get_clock_freq(enum imx233_clock_t clk) { case CLK_PLL: /* PLL: 480MHz when enable */ return imx233_is_clock_enable(CLK_PLL) ? 480000 : 0; - case CLK_XTAL: /* crytsal: 24MHz */ + case CLK_XTAL: /* crystal: 24MHz */ return 24000; case CLK_CPU: { diff --git a/firmware/target/arm/imx233/mmc-imx233.c b/firmware/target/arm/imx233/mmc-imx233.c index 8bdefebf6b..8782e8e8af 100644 --- a/firmware/target/arm/imx233/mmc-imx233.c +++ b/firmware/target/arm/imx233/mmc-imx233.c @@ -206,7 +206,7 @@ static int transfer_sectors(IF_MD2(int drive,) unsigned long start, int count, v start += mmc_window_start; if((start + count) > mmc_window_end) return -201; - /* get mutex (needed because we done multiple commands for count > 0 */ + /* get mutex (needed because we do multiple commands for count > 0) */ mutex_lock(&mmc_mutex); int ret = 0; uint32_t resp; diff --git a/firmware/target/arm/imx233/sd-imx233.c b/firmware/target/arm/imx233/sd-imx233.c index c17681828f..745a75b2dc 100644 --- a/firmware/target/arm/imx233/sd-imx233.c +++ b/firmware/target/arm/imx233/sd-imx233.c @@ -372,9 +372,6 @@ static int transfer_sectors(IF_MD2(int drive,) unsigned long start, int count, v ret = -23; Lend: mutex_unlock(&sd_mutex); - if(ret != 0) - panicf("transfer_sectors(%d,%d,%d,%d,%d,%d)", drive, start, count, read, - old_start, old_count); return ret; } |