summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorKevin Liu <kliu5@marvell.com>2013-01-31 11:31:37 +0800
committerChris Ball <cjb@laptop.org>2013-02-24 14:37:11 -0500
commit52983382c74f59a3953e622d7661a24e1bc4388a (patch)
treed5cfafd53be0b85a8921e28e22f1be64615d18fb /tools/perf/scripts/python/call-graph-from-sql.py
parent073350f7b562d06df0aedd36c963508e36437b3c (diff)
downloadkernel-52983382c74f59a3953e622d7661a24e1bc4388a.tar.gz
mmc: sdhci: enhance preset value function
4d55c5a1 ("mmc: sdhci: enable preset value after uhs initialization") added preset value support and enabled it by default during sd card init. Below are the enhancements introduced by this patch: 1. In current code, preset value is enabled after setting clock finished, which means the clock is manually set by driver firstly and then suddenly switched to preset value at this point. So the first setting is useless and unnecessary. What's more, the first clock setting may differ from the preset one. The better way is enable preset value just after switch to UHS mode so the preset value can take effect immediately. So move preset value enable from mmc_sd_init_card to sdhci_set_ios which will be called during set timing. 2. In current code, preset value is disabled at the beginning of mmc_attach_sd. It's too late since low freq (400khz) should be set in mmc_power_up. So move preset value disable to sdhci_set_ios which will be called during power up. 3. host->clock and ios->drv_type should also be updated according to the preset value if it's enabled. Current code missed this. 4. This patch also introduce a quirk to disable preset value in case preset value doesn't work. This patch has been verified on sdhci-pxav3 platform with both preset enabled and disabled. Signed-off-by: Kevin Liu <kliu5@marvell.com> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
69465ddc4f8aeb3b993123b571aa01c5f2683'>hfsplus: Don't clear SGID when inheriting ACLsJan Kara 2017-07-17VFS: Convert sb->s_flags & MS_RDONLY to sb_rdonly(sb)David Howells 2017-05-08fs: semove set but not checked AOP_FLAG_UNINTERRUPTIBLE flagTetsuo Handa 2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar 2017-02-27hfsplus: atomically read inode sizeFabian Frederick 2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds 2016-11-01block,fs: use REQ_* flags directlyChristoph Hellwig 2016-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds 2016-10-10Merge remote-tracking branch 'ovl/rename2' into for-linusAl Viro 2016-10-10Merge branch 'work.xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds 2016-10-07vfs: Remove {get,set,remove}xattr inode operationsAndreas Gruenbacher 2016-09-27fs: Replace CURRENT_TIME_SEC with current_time() for inode timestampsDeepa Dinamani 2016-09-27fs: rename "rename2" i_op to "rename"Miklos Szeredi 2016-09-27fs: support RENAME_NOREPLACE for local filesystemsMiklos Szeredi 2016-09-22fs: Give dentry to inode_change_ok() instead of inodeJan Kara 2016-09-22posix_acl: Clear SGID bit when setting file permissionsJan Kara