diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-02-10 11:27:55 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-03-02 15:46:32 +0100 |
commit | e234ed2f06fad95680710976bcddae91d7fb7af9 (patch) | |
tree | 7db967444d947274374586f86bee454f083f2ebe /.gitattributes | |
parent | i2c: designware-baytrail: Pass dw_i2c_dev into helper functions (diff) | |
download | linux-e234ed2f06fad95680710976bcddae91d7fb7af9.tar.xz linux-e234ed2f06fad95680710976bcddae91d7fb7af9.zip |
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 <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170210102802.20898-6-hdegoede@redhat.com
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions