Problem with the check engine light coming on triggered by the transmission on 2003 Kia Rio

The check engine light keeps coming on from the transmission control module. I passed the emissions part of the test but failed because of the light. How much does the updated module cost?

Asked by for the 2003 Kia Rio
how many miles on veh? could this be covered under your 10yr 100k miles factory warranty?