When I read "Spanish professor," I immediately thought that this was someone who taught Spanish. I don't think it would be a bottom line requirement to say, "My professor who teaches Spanish..."

JMO,
WW