diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2018-11-06 18:13:44 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2018-11-23 14:51:23 +0300 |
commit | 63a298f22a6183b5b7536a203596c6570dfcfe8e (patch) | |
tree | f1c2ad4bacdf50382834331da4a1e3e65a5dcc4f /crypto/algif_aead.c | |
parent | bf17cda650d5723bbc1439bbcde81265ad207004 (diff) | |
download | linux-63a298f22a6183b5b7536a203596c6570dfcfe8e.tar.xz |
drm: rcar-du: Fix external clock error checks
The rcar-du driver supports probe deferral for external clocks, but
implements it badly by checking the wrong pointer due to a bad copy and
paste. Fix it.
While at it, reject invalid clocks outright for DU channels that have a
display PLL, as the external clock is mandatory in that case. This
avoids a WARN_ON() at runtime.
Fixes: 1b30dbde8596 ("drm: rcar-du: Add support for external pixel clock")
Reported-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Diffstat (limited to 'crypto/algif_aead.c')
0 files changed, 0 insertions, 0 deletions