diff options
| author | Stephen Boyd <sboyd@kernel.org> | 2022-12-07 18:31:22 -0800 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2022-12-07 18:32:47 -0800 |
| commit | e0bb331221f85d131f277c834bdf20e977badfd8 (patch) | |
| tree | 06157c377bb10ca37950945ebd386fcc62c51324 /drivers/clk/at91 | |
| parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff) | |
| parent | e2e6a217a84d09785848a82599729c9a41566e3a (diff) | |
Merge tag 'clk-microchip-fixes-6.1-2' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into clk-microchip
Pull Microchip clk driver updates from Claudiu Beznea:
It contains a fix for Microchip Polarfire clocks; the fix consist in checking
the return value of devm_kzalloc() in mpfs_ccc_register_outputs() to
avoid possible null pointer dereference.
* tag 'clk-microchip-fixes-6.1-2' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
clk: microchip: check for null return of devm_kzalloc()
ARM: at91: rm9200: fix usb device clock id
Diffstat (limited to 'drivers/clk/at91')
| -rw-r--r-- | drivers/clk/at91/at91rm9200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/at91rm9200.c b/drivers/clk/at91/at91rm9200.c index b174f727a8ef..16870943a13e 100644 --- a/drivers/clk/at91/at91rm9200.c +++ b/drivers/clk/at91/at91rm9200.c @@ -40,7 +40,7 @@ static const struct clk_pll_characteristics rm9200_pll_characteristics = { }; static const struct sck at91rm9200_systemck[] = { - { .n = "udpck", .p = "usbck", .id = 2 }, + { .n = "udpck", .p = "usbck", .id = 1 }, { .n = "uhpck", .p = "usbck", .id = 4 }, { .n = "pck0", .p = "prog0", .id = 8 }, { .n = "pck1", .p = "prog1", .id = 9 }, |
