There are two camshaft position sensors, one per camshaft, and they are located in close proximity to the VANOS solenoids. The code in question is for the intake side only so there is no need to replace both. However, the cam sensor is not triggering a fault which means it should technically still be working. Normally if the cam sensor is the issues you will see a P2A9A fault along with the 2A82 VANOS fault.