Guest User

Untitled

a guest
Jun 23rd, 2011
117
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: firmware/export/wm8975.h
  2. ===================================================================
  3. --- firmware/export/wm8975.h    (revision 30056)
  4. +++ firmware/export/wm8975.h    (working copy)
  5. @@ -303,6 +303,7 @@
  6.  #define WM8975_24000HZ     0x79
  7.  #define WM8975_32000HZ     0x59
  8.  #define WM8975_44100HZ     0x63
  9. +#define WM8975_44100Hz_    0x20
  10.  #define WM8975_48000HZ     0x41
  11.  #define WM8975_88200HZ     0x7f
  12.  #define WM8975_96000HZ     0x5d
  13. Index: firmware/drivers/audio/wm8975.c
  14. ===================================================================
  15. --- firmware/drivers/audio/wm8975.c (revision 30056)
  16. +++ firmware/drivers/audio/wm8975.c (working copy)
  17. @@ -153,6 +153,9 @@
  18.  
  19.      wm8975_write(PWRMGMT1, wm8975_regs[PWRMGMT1]);
  20.      wm8975_write(PWRMGMT2, wm8975_regs[PWRMGMT2]);
  21. +
  22. +    wm8975_write(ADDCTRL2, ADDCTRL2_LRCM);
  23. +    wm8975_write(SAMPCTRL, SAMPCTRL_BCM_MCLK_4 | WM8975_44100HZ_);
  24.  }
  25.  
  26.  void audiohw_postinit(void)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×