diff options
author | Hans de Goede <[email protected]> | 2017-02-10 11:27:55 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2017-03-02 15:46:32 +0100 |
commit | e234ed2f06fad95680710976bcddae91d7fb7af9 (patch) | |
tree | 7db967444d947274374586f86bee454f083f2ebe /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 62aee937535fcb7c5c23aafe5dfccd977bfe658e (diff) |
i2c: designware-baytrail: Only check iosf_mbi_available() for shared hosts
If (!shared_host) simply return 0, this avoids delaying the probe if
iosf_mbi_available() returns false when an i2c bus is not using the
punit semaphore.
Also move the if (!iosf_mbi_available()) check to above the
dev_info, so that we do not repeat the dev_info on every probe
until iosf_mbi_available() returns true.
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Jarkko Nikula <[email protected]>
Tested-by: Takashi Iwai <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions