Samsung galaxy s8500 accelerometer not working

The accelerometer of my Samsung phone is not rotating when I rotate the phone. I have a Samsung Galaxy S8500 Wave that has the Hummingbird chipset and an upgraded Bada OS 2.0. Ever since upgrading to the new OS, the accelerometer has stopped functioning like it's in lock mode or something. Is this a hardware problem?
