/* * wm8900.h -- WM890 Soc Audio driver * * 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 _WM8900_H #define _WM8900_H #define WM8900_FLL 1 #define WM8900_BCLK_DIV 1 #define WM8900_ADC_CLKDIV 2 #define WM8900_DAC_CLKDIV 3 #define WM8900_ADC_LRCLK 4 #define WM8900_DAC_LRCLK 5 #define WM8900_OPCLK_DIV 6 #define WM8900_LRCLK_MODE 7 #define WM8900_BCLK_DIV_1 0x00 #define WM8900_BCLK_DIV_1_5 0x02 #define WM8900_BCLK_DIV_2 0x04 #define WM8900_BCLK_DIV_3 0x06 #define WM8900_BCLK_DIV_4 0x08 #define WM8900_BCLK_DIV_5_5 0x0a #define WM8900_BCLK_DIV_6 0x0c #define WM8900_BCLK_DIV_8 0x0e #define WM8900_BCLK_DIV_11 0x10 #define WM8900_BCLK_DIV_12 0x12 #define WM8900_BCLK_DIV_16 0x14 #define WM8900_BCLK_DIV_22 0x16 #define WM8900_BCLK_DIV_24 0x18 #define WM8900_BCLK_DIV_32 0x1a #define WM8900_BCLK_DIV_44 0x1c #define WM8900_BCLK_DIV_48 0x1e #define WM8900_ADC_CLKDIV_1 0x00 #define WM8900_ADC_CLKDIV_1_5 0x20 #define WM8900_ADC_CLKDIV_2 0x40 #define WM8900_ADC_CLKDIV_3 0x60 #define WM8900_ADC_CLKDIV_4 0x80 #define WM8900_ADC_CLKDIV_5_5 0xa0 #define WM8900_ADC_CLKDIV_6 0xc0 #define WM8900_DAC_CLKDIV_1 0x00 #define WM8900_DAC_CLKDIV_1_5 0x04 #define WM8900_DAC_CLKDIV_2 0x08 #define WM8900_DAC_CLKDIV_3 0x0c #define WM8900_DAC_CLKDIV_4 0x10 #define WM8900_DAC_CLKDIV_5_5 0x14 #define WM8900_DAC_CLKDIV_6 0x18 #endif
summaryrefslogtreecommitdiff
path: root/net/nfc/nci/Kconfig
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2017-01-15 20:15:00 +0200
committerDoug Ledford <dledford@redhat.com>2017-01-27 14:29:04 -0500
commitb4cfe3971f6eab542dd7ecc398bfa1aeec889934 (patch)
treec7ad49d05da0535170c8e7710cd44ae1cecc271f /net/nfc/nci/Kconfig
parent2d4b21e0a2913612274a69a3ba1bfee4cffc6e77 (diff)
RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled
If IPV6 has not been enabled in the underlying kernel, we must avoid calling IPV6 procedures in rdma_cm.ko. This requires using "IS_ENABLED(CONFIG_IPV6)" in "if" statements surrounding any code which calls external IPV6 procedures. In the instance fixed here, procedure cma_bind_addr() called ipv6_addr_type() -- which resulted in calling external procedure __ipv6_addr_type(). Fixes: 6c26a77124ff ("RDMA/cma: fix IPv6 address resolution") Cc: <stable@vger.kernel.org> # v4.2+ Cc: Spencer Baugh <sbaugh@catern.com> Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Reviewed-by: Moni Shoua <monis@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/nfc/nci/Kconfig')