“fb1c8f93d869b34cacb8b8932e2b83d96a19d720”上不存在“include/linux/rwlock_api_smp.h”
Fixes a problem when module probes before i2c module is available
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- The driver crashed while a NULL pointer returned by i2c_get_adapter() has been used to access the i2c bus functions. The headphone probing function hb_hp_probe() now returns -EPROBE_DEFER in case the i2c module has not been loaded yet. Signed-off-by: NJoerg Schambacher <joerg@i2audio.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录