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; }