source: branches/backfire/target/linux/generic-2.6/patches-2.6.32/975-hifn795x-byteswap.patch @ 21345

Last change on this file since 21345 was 21345, checked in by jow, 6 years ago

[backfire] merge r21344

File size: 539 bytes
  • drivers/crypto/hifn_795x.c

    a b static inline u32 hifn_read_1(struct hif 
    682682 
    683683static inline void hifn_write_0(struct hifn_device *dev, u32 reg, u32 val) 
    684684{ 
    685         writel((__force u32)cpu_to_le32(val), dev->bar[0] + reg); 
     685        writel(val, dev->bar[0] + reg); 
    686686} 
    687687 
    688688static inline void hifn_write_1(struct hifn_device *dev, u32 reg, u32 val) 
    689689{ 
    690         writel((__force u32)cpu_to_le32(val), dev->bar[1] + reg); 
     690        writel(val, dev->bar[1] + reg); 
    691691} 
    692692 
    693693static void hifn_wait_puc(struct hifn_device *dev) 
Note: See TracBrowser for help on using the repository browser.