summaryrefslogtreecommitdiff
path: root/sound/sh
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2020-01-04 16:13:20 +0100
committerWolfram Sang <wsa@the-dreams.de>2020-01-06 15:51:11 +0100
commit3b722da6672df8392f9c43d7c7e04bddd81d7e37 (patch)
tree454c0524216882bd5a3840715d2c3540251f380c /sound/sh
parent42052d96ae59a702a0b71fafde69fe2cbee23a0e (diff)
i2c: bcm2835: Store pointer to bus clock
The commit bebff81fb8b9 ("i2c: bcm2835: Model Divider in CCF") introduced a NULL pointer dereference on driver unload. It seems that we can't fetch the bus clock via devm_clk_get in bcm2835_i2c_remove. As an alternative approach store a pointer to the bus clock in the private driver structure. Fixes: bebff81fb8b9 ("i2c: bcm2835: Model Divider in CCF") Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions