/* * SuperH Video Output Unit (VOU) driver header * * Copyright (C) 2010, Guennadi Liakhovetski * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef SH_VOU_H #define SH_VOU_H #include /* Bus flags */ #define SH_VOU_PCLK_FALLING (1 << 0) #define SH_VOU_HSYNC_LOW (1 << 1) #define SH_VOU_VSYNC_LOW (1 << 2) enum sh_vou_bus_fmt { SH_VOU_BUS_8BIT, SH_VOU_BUS_16BIT, SH_VOU_BUS_BT656, }; struct sh_vou_pdata { enum sh_vou_bus_fmt bus_fmt; int i2c_adap; struct i2c_board_info *board_info; unsigned long flags; }; #endif t.png' alt='cgit logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/intel8x0.c')
gi/linux/net-next.git/patch/tools/testing/selftests/watchdog?id=33e962c8871f015f5c8978384553dddcf5b81b22'>patch)
tree43aff96c2ee21d9e0fa2018457778a4de52053cd /tools/testing/selftests/watchdog
parent575ddce0507789bf9830d089557d2199d2f91865 (diff)
rt2x00: fix clk_get call
clk_get() takes two arguments and might return ERR_PTR(), so we have to nullify pointer on that case, to do not break further call to clk_get_rate(). Reported-by: Felix Fietkau <nbd@nbd.name> Fixes: 34db70b92fae ("rt2x00: add copy of clk for soc devices") Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/testing/selftests/watchdog')