You can fix the code P0011 by adjusting the camshaft's rotation speed to be in sync with the engine's timing and the crankshaft and the best way to do that is by replacing the faulty camshaft position sensor or cleaning the oil passages within the engine.