When the engine is cold , the ecu will adjust rpm/idle speed. it will be slightly more to warm up the engine.
similaly when you switch in the ac there is significant increase in idle rpm.
as long as the car do not stall , your car is fine , the ecm will increase and decrease the rpm /idling according to its need.
Similarly if you notice the same after some time of travelling say about a hr in ac , its ac cut off function
So do not worry at all