[PATCH 5.2 094/313] media: i2c: tda1997x: prevent potential NULL pointer access