• Vaibhav Gupta's avatar
    drivers: fmc: core: load at24 before probing fmc · 11509b33
    Vaibhav Gupta authored
    In cases where driver modules are not built into the kernel itself, at24
    module is not loaded at the desired time, and thus, can cause error when
    trying to read the eeprom.
    
    Also, listing at24 as a soft dependency doesn't solves our problem as it
    does not guarantees the time at which the module will be loaded.
    
    Hence, load the module using request_module(), and throw a kernel warning
    in syslog if it fails.
    Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
    11509b33
Name
Last commit
Last update
Documentation Loading commit data...
LICENSES Loading commit data...
distribution Loading commit data...
drivers/fmc Loading commit data...
include Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.koji Loading commit data...
CHANGELOG.rst Loading commit data...
Makefile Loading commit data...
README.rst Loading commit data...