kernel: generic: spi: allow empty (un)prepare transfer
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 101-MIPS-BCM63XX-fix-BCM6368-IPSec-clock-bit.patch
1 From 41ee87b6ddd525fab54e21ede506f2084bcabed3 Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <florian@openwrt.org>
3 Date: Wed, 25 Jan 2012 17:39:52 +0100
4 Subject: [PATCH 14/63] MIPS: BCM63XX: fix BCM6368 IPSec clock bit
5
6 The IPsec clock bit is 18 and not 17.
7
8 Signed-off-by: Florian Fainelli <florian@openwrt.org>
9 ---
10  arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h |    2 +-
11  1 files changed, 1 insertions(+), 1 deletions(-)
12
13 --- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
14 +++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
15 @@ -99,7 +99,7 @@
16  #define CKCTL_6368_USBH_EN             (1 << 15)
17  #define CKCTL_6368_DISABLE_GLESS_EN    (1 << 16)
18  #define CKCTL_6368_NAND_EN             (1 << 17)
19 -#define CKCTL_6368_IPSEC_EN            (1 << 17)
20 +#define CKCTL_6368_IPSEC_EN            (1 << 18)
21  
22  #define CKCTL_6368_ALL_SAFE_EN         (CKCTL_6368_SWPKT_USB_EN |      \
23                                         CKCTL_6368_SWPKT_SAR_EN |       \