[PATCH] mmc: core: Update ext_csd if touched by ioctl

2013-12-10 Thread Abbas Raza
From: Abbas Raza In case an ioctl changes an EXT_CSD register, update the internal ext_csd data structure, too. Else the driver's internal ext_csd data structure and the EXT_CSD register content doesn't match any more. In this case additional ioctls changing the ext_csd would revert the initial o

[RFC PATCH] mmc: core: Update ext_csd if touched by ioctl

2013-09-10 Thread Dirk Behme
In case an ioctl changes an EXT_CSD register, update the internal ext_csd data structure, too. Else the driver's internal ext_csd data structure and the EXT_CSD register content doesn't match any more. In this case additional ioctls changing the ext_csd would revert the initial one due to the old d