Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid read only on mmc slot, causing problems on SD file system

  • Loading branch information...
commit 03c09c0d8c3d2223a12a0fd80bf078d6ad956818 1 parent f9aac4a
caguero authored
Showing with 21 additions and 0 deletions.
  1. +20 −0 kernel/patches/avoid_ro_file_system.patch
  2. +1 −0  kernel/patches/series
View
20 kernel/patches/avoid_ro_file_system.patch
@@ -0,0 +1,20 @@
+Index: kernel/linux-2.6.37-psp04.02.00.07/drivers/mmc/host/omap_hsmmc.c
+===================================================================
+--- kernel.orig/linux-2.6.37-psp04.02.00.07/drivers/mmc/host/omap_hsmmc.c
++++ kernel/linux-2.6.37-psp04.02.00.07/drivers/mmc/host/omap_hsmmc.c
+@@ -1699,11 +1699,13 @@
+
+ static int omap_hsmmc_get_ro(struct mmc_host *mmc)
+ {
+- struct omap_hsmmc_host *host = mmc_priv(mmc);
++ /* Commented in order to avoid Read Only file system */
++/* struct omap_hsmmc_host *host = mmc_priv(mmc);
+
+ if (!mmc_slot(host).get_ro)
+ return -ENOSYS;
+- return mmc_slot(host).get_ro(host->dev, 0);
++ return mmc_slot(host).get_ro(host->dev, 0);*/
++ return 0;
+ }
+
+ static void omap_hsmmc_init_card(struct mmc_host *mmc, struct mmc_card *card)
View
1  kernel/patches/series
@@ -1,2 +1,3 @@
rrsdk-integration-support.patch
fix_int-ll64_path.patch
+avoid_ro_file_system.patch

0 comments on commit 03c09c0

Please sign in to comment.
Something went wrong with that request. Please try again.