Posting in case anyone else stumbles upon this thread.
I had the exact same problem: Dell XPS l502x w/ GT 540M, games were locking up (mostly League of Legends for me) and playing a bizarre buzzing sound through the speakers. The solution in this video worked for me:
And in case the video...