linux: db updated only on sensor data change

Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com>