diff options
| author | Wolfram Sang <[email protected]> | 2020-08-20 15:25:36 +0200 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2020-09-07 09:11:31 +0200 |
| commit | 576146ea4ed986f44a4406ec32a5d3363216b3d2 (patch) | |
| tree | cb0d9aad1e3de08b0c8b04d8a66331c2cc3ca6a2 /scripts/stackusage | |
| parent | a8c83064e73382d6bb069bd51c56074d1e4f4eec (diff) | |
mmc: tmio: factor out common parts of the reset routine
Some TMIO variants need specific actions in their reset routine, but
they are all based on a generic reset routine. So, the optional 'reset'
callback will now only take care of the additional stuff and we will
have a generic function around it. Less code, easier to maintain, and
much more readable. Code in tmio_mmc.c is untested but in my TC6387XB
datasheet the SDIO part is reset independently from the SD part, too.
Signed-off-by: Wolfram Sang <[email protected]>
Reviewed-by: Yoshihiro Shimoda <[email protected]>
Tested-by: Yoshihiro Shimoda <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions